hedgewars/uGearsUtils.pas
changeset 13386 caed04706564
parent 13323 9071600f7b22
child 13404 3d6aae2ae698
--- a/hedgewars/uGearsUtils.pas	Fri May 04 15:08:59 2018 +0200
+++ b/hedgewars/uGearsUtils.pas	Thu May 03 14:44:17 2018 -0400
@@ -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