--- 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