hedgewars/uGearsUtils.pas
changeset 15678 c34cad72cd85
parent 15647 1b044b47773b
child 15730 88037382ae43
--- a/hedgewars/uGearsUtils.pas	Tue Jun 30 00:58:24 2020 +0300
+++ b/hedgewars/uGearsUtils.pas	Tue Jun 30 02:18:54 2020 +0300
@@ -1377,7 +1377,10 @@
     if (Ammo^.Kind in [gtDEagleShot, gtSniperRifleShot, gtMinigunBullet,
                        gtFirePunch, gtKamikaze, gtWhip, gtShover])
         and (((Ammo^.Data <> nil) and (PGear(Ammo^.Data) = Gear))
-             or (not UpdateHitOrder(Gear, Ammo^.WDTimer))) then
+            or (not UpdateHitOrder(
+                    Gear, 
+                    Ammo^.WDTimer, 
+                    (Ammo^.Kind = gtMinigunBullet) and (Gear^.Pos <> 0)))) then
         continue;
 
     if ((Ammo^.Kind = gtFlame) or (Ammo^.Kind = gtBlowTorch)) and