hedgewars/uAI.pas
changeset 4225 ce9e2b05e9c1
parent 4211 7dcbd236ca59
child 4357 a1fcfc341a52
--- a/hedgewars/uAI.pas	Mon Nov 08 22:11:46 2010 -0500
+++ b/hedgewars/uAI.pas	Mon Nov 08 22:26:44 2010 -0500
@@ -333,7 +333,7 @@
 with CurrentHedgehog^ do
      if (Gear <> nil)
         and ((Gear^.State and gstHHDriven) <> 0)
-        and (TurnTimeLeft + 50 > cHedgehogTurnTime ) then
+        and (TurnTimeLeft < cHedgehogTurnTime - 50) then
         if ((Gear^.State and gstHHThinking) = 0) then
            if (BestActions.Pos >= BestActions.Count)
               and (TurnTimeLeft > cStopThinkTime) then