hedgewars/uAI.pas
changeset 4197 dad127904958
parent 3894 9abce5468583
child 4198 55814f1ef60a
--- a/hedgewars/uAI.pas	Sun Nov 07 14:24:00 2010 -0500
+++ b/hedgewars/uAI.pas	Sun Nov 07 20:27:05 2010 +0100
@@ -333,7 +333,7 @@
 with CurrentHedgehog^ do
      if (Gear <> nil)
         and ((Gear^.State and gstHHDriven) <> 0)
-        and (TurnTimeLeft < cHedgehogTurnTime - 50) then
+        and (TurnTimeLeft < (cHedgehogTurnTime * 1000) - 50) then
         if ((Gear^.State and gstHHThinking) = 0) then
            if (BestActions.Pos >= BestActions.Count)
               and (TurnTimeLeft > cStopThinkTime) then