hedgewars/uAI.pas
changeset 6317 83b93a2d2741
parent 5600 c6da15eddab3
child 6328 d14adf1c7721
child 6392 f2ef5a8cccb4
--- a/hedgewars/uAI.pas	Wed Nov 09 21:36:20 2011 +0300
+++ b/hedgewars/uAI.pas	Thu Nov 10 23:14:40 2011 +0300
@@ -267,7 +267,7 @@
       begin
       WalkMe:= BackMe;
       Walk(@WalkMe);
-      if (StartTicks > GameTicks - 1500) and not StopThinking then SDL_Delay(1000);
+      if (StartTicks > GameTicks - 1500) and (not StopThinking) then SDL_Delay(1000);
       if BestActions.Score < -1023 then
          begin
          BestActions.Count:= 0;