Fix pas2c?
authorunc0rr
Sat, 07 Feb 2015 11:53:08 +0300
changeset 10815 2a85c551909c
parent 10814 810ac1d21fd0
child 10816 37410518628e
Fix pas2c?
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Sat Feb 07 00:19:54 2015 +0300
+++ b/hedgewars/uGearsHandlersMess.pas	Sat Feb 07 11:53:08 2015 +0300
@@ -1799,7 +1799,7 @@
         ((TurnTimeLeft < cHedgehogTurnTime) and (cHedgehogTurnTime-TurnTimeLeft < 5000)) or
         (Gear^.State and gsttmpFlag = 0) or
         (Gear^.Angle = 0) then
-        gear^.State:= gear^.State and not gstHHChooseTarget
+        gear^.State:= gear^.State and (not gstHHChooseTarget)
     else if
     // todo, allow not finding new target, set timeout on target retention
         (Gear^.State and gstAttacking = 0) and