hedgewars/uGame.pas
changeset 2621 956ff066f3a5
parent 2599 c7153d2348f3
child 2630 079ef82eac75
--- a/hedgewars/uGame.pas	Sat Nov 14 05:26:26 2009 +0000
+++ b/hedgewars/uGame.pas	Sat Nov 14 11:06:55 2009 +0000
@@ -23,8 +23,6 @@
 
 procedure DoGameTick(Lag: LongInt);
 
-var skipFlag: boolean = false;
-
 ////////////////////
    implementation
 ////////////////////
@@ -47,7 +45,6 @@
 i:= 1;
 while (GameState <> gsExit) and (i <= Lag) do
     begin
-    skipFlag:= false;
     if not CurrentTeam^.ExtDriven then
        begin
        if CurrentHedgehog^.BotLevel <> 0 then ProcessBot;
@@ -74,7 +71,6 @@
                end
           else ProcessGears
        end;
-    if skipFlag then TurnTimeLeft:= 0;
     inc(i)
     end
 end;