hedgewars/uGears.pas
changeset 11918 9da78300c5d0
parent 11916 38fa4583e7f3
child 11921 b1782491f19c
--- a/hedgewars/uGears.pas	Sun May 01 00:09:14 2016 +0200
+++ b/hedgewars/uGears.pas	Sun May 01 01:04:45 2016 +0200
@@ -1062,7 +1062,8 @@
     (CurrentHedgehog^.Gear <> nil)
     and (((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
     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 ((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)));
 end;