dmuratshin 9 years ago
parent
commit
2db25ddc56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oxygine/src/Clock.cpp

+ 1 - 1
oxygine/src/Clock.cpp

@@ -104,7 +104,7 @@ namespace oxygine
         _destTime += dt;
         _destTime += dt;
 
 
         _lastUpdateTime = time;
         _lastUpdateTime = time;
-        _lastDT = dt;
+        _lastDT = static_cast<int>(dt);
 
 
         //if (_fixedStep > 0)
         //if (_fixedStep > 0)
         //  printf("ticks: %d\n", int((_destTime - _srcTime)/_fixedStep));
         //  printf("ticks: %d\n", int((_destTime - _srcTime)/_fixedStep));