hedgewars/uAI.pas
changeset 2605 a40a7c90ffd8
parent 2599 c7153d2348f3
child 2608 cebfea02f8b5
--- a/hedgewars/uAI.pas	Thu Nov 05 21:03:44 2009 +0000
+++ b/hedgewars/uAI.pas	Fri Nov 06 18:24:55 2009 +0000
@@ -198,7 +198,7 @@
 BestRate:= RatePlace(Me);
 BaseRate:= max(BestRate, 0);
 
-while (Stack.Count > 0) and not StopThinking do
+while (Stack.Count > 0) and (not StopThinking) and (GameFlags and gfArtillery = 0) do
     begin
     Pop(ticks, Actions, Me^);