hedgewars/uAI.pas
changeset 4210 caa9b08990eb
parent 4208 dd54999c2822
child 4211 7dcbd236ca59
--- a/hedgewars/uAI.pas	Sun Nov 07 17:48:21 2010 -0500
+++ b/hedgewars/uAI.pas	Sun Nov 07 18:35:21 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