# HG changeset patch # User unc0rr # Date 1257531895 0 # Node ID a40a7c90ffd88bcf02a17d4f865375d535a402c0 # Parent ae5b19308e79c0d839d6401538b52f38ae220f0c AI knows what artillery mode is diff -r ae5b19308e79 -r a40a7c90ffd8 hedgewars/uAI.pas --- 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^);