hedgewars/uGears.pas
changeset 15085 96244def1cc0
parent 15012 dc50766f6d0c
child 15086 39067b45d0fc
--- a/hedgewars/uGears.pas	Sun May 26 20:51:42 2019 +0200
+++ b/hedgewars/uGears.pas	Sun May 26 23:52:04 2019 +0200
@@ -1265,7 +1265,7 @@
     or (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttacking <> 0)
     or ((GameFlags and gfInfAttack) <> 0) and (Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerWhileAttackingInInfAttackMode <> 0)
     or (CurrentHedgehog^.CurAmmoType = amSniperRifle))
-    and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0)))
+    and (not(isInMultiShoot and ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_DoesntStopTimerInMultiShoot) <> 0) and ((GameFlags and gfInfAttack) = 0)))
     and (not LuaClockPaused);
 end;