hedgewars/uAI.pas
changeset 7426 55b49cc1f33a
parent 7416 2f2f78fc65a3
child 7437 a46ce1812419
--- a/hedgewars/uAI.pas	Tue Jul 24 18:53:42 2012 -0400
+++ b/hedgewars/uAI.pas	Wed Jul 25 10:56:14 2012 -0400
@@ -415,7 +415,7 @@
         end
     end;
 
-PGear(Me)^.State:= PGear(Me)^.State and not gstHHThinking;
+PGear(Me)^.State:= PGear(Me)^.State and (not gstHHThinking);
 Think:= 0;
 InterlockedDecrement(hasThread)
 end;