hedgewars/uGearsHandlersMess.pas
changeset 10795 5672d43e8d88
parent 10791 0311c9fa7498
child 10796 f7cdca3ed697
--- a/hedgewars/uGearsHandlersMess.pas	Sat Jan 17 21:41:01 2015 +0100
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jan 18 15:36:36 2015 +0100
@@ -1865,7 +1865,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);