hedgewars/uGearsUtils.pas
changeset 13153 ec165591a1ee
parent 12942 a84a05719454
child 13323 9071600f7b22
--- a/hedgewars/uGearsUtils.pas	Fri Mar 09 19:45:21 2018 +0100
+++ b/hedgewars/uGearsUtils.pas	Fri Mar 09 19:48:15 2018 +0100
@@ -1273,8 +1273,10 @@
     if (Gear^.State and gstNoDamage) = 0 then
         begin
 
-        if (Ammo^.Kind = gtDEagleShot) or (Ammo^.Kind = gtSniperRifleShot)
-        or (Ammo^.Kind = gtMinigunBullet) then
+        if (Gear^.Kind <> gtMinigun) and
+            ((Ammo^.Kind = gtDEagleShot)
+                or (Ammo^.Kind = gtSniperRifleShot)
+                or (Ammo^.Kind = gtMinigunBullet)) then
             begin
             VGear := AddVisualGear(t^.cX[i], t^.cY[i], vgtBulletHit);
             if VGear <> nil then