hedgewars/hwengine.pas
changeset 3976 abaf741a4e21
parent 3971 5c82ee165ed5
child 4004 b1c2c2f6fc5e
child 4046 cfdbddc4b385
--- a/hedgewars/hwengine.pas	Thu Oct 14 16:01:43 2010 +0200
+++ b/hedgewars/hwengine.pas	Thu Oct 14 22:01:33 2010 +0200
@@ -175,7 +175,7 @@
         if isTerminated = false then
         begin
             CurrTime:= SDL_GetTicks;
-            if PrevTime + cTimerInterval <= CurrTime then
+            if PrevTime + longword(cTimerInterval) <= CurrTime then
             begin
                 DoTimer(CurrTime - PrevTime);
                 PrevTime:= CurrTime