hedgewars/uGearsHandlersMess.pas
changeset 10796 f7cdca3ed697
parent 10794 ace862eda192
parent 10795 5672d43e8d88
child 10797 6458fd2f5636
--- a/hedgewars/uGearsHandlersMess.pas	Sun Jan 18 14:47:25 2015 -0500
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jan 18 14:48:23 2015 -0500
@@ -1868,7 +1868,7 @@
                     DeleteGear(Gear);
                     exit
                     end;
-                Gear^.State:= Gear^.State and not gstAttacking;
+                Gear^.State:= Gear^.State and (not gstAttacking);
                 Gear^.Timer:= Gear^.WDTimer
                 end;
             dec(Gear^.Timer);