hedgewars/uGearsUtils.pas
changeset 13388 354ceada9c40
parent 13386 caed04706564
child 13404 3d6aae2ae698
--- a/hedgewars/uGearsUtils.pas	Sun May 06 00:47:49 2018 +0200
+++ b/hedgewars/uGearsUtils.pas	Sun May 06 00:48:43 2018 +0200
@@ -1273,7 +1273,7 @@
     if (Gear^.State and gstNoDamage) = 0 then
         begin
 
-        if (Gear^.Kind <> gtMinigun) and
+        if (not (Gear^.Kind in [gtMinigun, gtPortal])) and
             ((Ammo^.Kind = gtDEagleShot)
                 or (Ammo^.Kind = gtSniperRifleShot)
                 or (Ammo^.Kind = gtMinigunBullet)) then