- On every frame there was made one superfluous game tick resulting in variable game speed
authorunc0rr
Mon, 22 Aug 2005 21:38:06 +0000
changeset 3 ffe4ad26a64c
parent 2 4eeab397c3c6
child 4 bcbd7adb4e4b
- On every frame there was made one superfluous game tick resulting in variable game speed - Removed comment written in russian
hedgewars/uGame.pas
--- a/hedgewars/uGame.pas	Mon Aug 22 15:06:42 2005 +0000
+++ b/hedgewars/uGame.pas	Mon Aug 22 21:38:06 2005 +0000
@@ -62,10 +62,9 @@
    inc(SendEmptyPacketTicks, Lag)
    end;
 
-// если тачка слабая, то Lag с каждым кадром стремится в бесконечность
 if Lag > 100 then Lag:= 100;
 
-for i:= 0 to Lag do
+for i:= 1 to Lag do
     if not CurrentTeam.ExtDriven then
        begin
        with CurrentTeam^ do