hedgewars/uGearsUtils.pas
changeset 13148 ec165591a1ee
parent 12937 a84a05719454
child 13318 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