hedgewars/uIO.pas
changeset 15156 7a8cc8bc963e
parent 15114 8cb1eebee4a0
child 15908 014f4edd0421
child 16048 eb015d6b4a2a
--- a/hedgewars/uIO.pas	Tue Jun 11 16:02:29 2019 +0200
+++ b/hedgewars/uIO.pas	Thu Jun 13 15:07:03 2019 +0200
@@ -543,6 +543,7 @@
         State:= State and (not gstChooseTarget);
         if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AttackingPut) <> 0 then
             Message:= Message or (gmAttack and InputMask);
+        Message:= Message and (not (gmHJump or gmLJump or gmLeft or gmRight or gmUp or gmDown));
         end
         else
             PlaySound(sndDenied)