hedgewars/uIO.pas
changeset 7426 55b49cc1f33a
parent 7103 1c1afb5a1565
child 7442 9bb6abdb5675
--- a/hedgewars/uIO.pas	Tue Jul 24 18:53:42 2012 -0400
+++ b/hedgewars/uIO.pas	Wed Jul 25 10:56:14 2012 -0400
@@ -402,7 +402,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