hedgewars/uAI.pas
changeset 95 1ef5e2c41115
parent 83 207c85fbef51
child 111 30ca06092a64
--- a/hedgewars/uAI.pas	Mon Jul 31 11:31:31 2006 +0000
+++ b/hedgewars/uAI.pas	Sat Aug 05 20:57:36 2006 +0000
@@ -284,7 +284,7 @@
 with CurrentTeam.Hedgehogs[CurrentTeam.CurrHedgehog] do
      if (Gear <> nil)
         and ((Gear.State and gstHHDriven) <> 0)
-        and (TurnTimeLeft < 29990)
+        and (TurnTimeLeft < cHedgehogTurnTime - 5)
         and ((Gear.State and gstHHThinking) = 0) then
            if (BestActions.Pos >= BestActions.Count) then StartThink(Gear)
                                                      else ProcessAction(BestActions, Gear)