hedgewars/uIO.pas
changeset 7442 9bb6abdb5675
parent 7180 53ffc8853008
parent 7426 55b49cc1f33a
child 7628 bc7b1d228a2c
--- a/hedgewars/uIO.pas	Fri Jul 13 16:39:20 2012 +0400
+++ b/hedgewars/uIO.pas	Thu Jul 26 21:56:47 2012 +0400
@@ -403,7 +403,7 @@
             TargetPoint.Y:= putY
             end;
         AddFileLog('put: ' + inttostr(TargetPoint.X) + ', ' + inttostr(TargetPoint.Y));
-        State:= State and not gstHHChooseTarget;
+        State:= State and (not gstHHChooseTarget);
         if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AttackingPut) <> 0 then
             Message:= Message or (gmAttack and InputMask);
         end