diff -r c6eec0bdb630 -r 1ef5e2c41115 hedgewars/uAI.pas --- 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)