fix pas2c (airbomb code: "not" statement in boolean expression was without parentheses)
authorsheepluva
Sun, 18 Jan 2015 15:36:36 +0100
changeset 10795 5672d43e8d88
parent 10793 f8e0961b463e
child 10796 f7cdca3ed697
fix pas2c (airbomb code: "not" statement in boolean expression was without parentheses)
hedgewars/uGearsHandlersMess.pas
--- 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);