hedgewars/uGears.pas
changeset 651 3710058bbd53
parent 649 26166c87dc75
child 656 6d6d9d7b1054
--- a/hedgewars/uGears.pas	Thu Dec 13 14:34:13 2007 +0000
+++ b/hedgewars/uGears.pas	Thu Dec 13 15:45:31 2007 +0000
@@ -417,12 +417,12 @@
         end;
 
 if TurnTimeLeft > 0 then
-   if CurrentTeam <> nil then
       if CurrentHedgehog^.Gear <> nil then
          if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
             and not isInMultiShoot then dec(TurnTimeLeft);
 
-if (GameTicks and $FFFF) = $FFFF then SendIPCTimeInc;
+if (not CurrentTeam^.ExtDriven) and
+   ((GameTicks and $FFFF) = $FFFF) then SendIPCTimeInc;
 inc(GameTicks)
 end;