hedgewars/uGearsUtils.pas
changeset 13381 caed04706564
parent 13318 9071600f7b22
child 13399 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