dmuratshin 10 éve
szülő
commit
2db25ddc56
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      oxygine/src/Clock.cpp

+ 1 - 1
oxygine/src/Clock.cpp

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