hedgewars/uAmmos.pas
changeset 15698 f681c3f2eeba
parent 15442 6031c0cfec89
child 15782 6409d756e9da
--- a/hedgewars/uAmmos.pas	Tue Jul 07 01:15:15 2020 +0300
+++ b/hedgewars/uAmmos.pas	Tue Jul 07 00:17:05 2020 +0200
@@ -113,7 +113,7 @@
         // avoid things we already have by scheme
         // merge this into DisableSomeWeapons ?
         if ((a = amLowGravity) and ((GameFlags and gfLowGravity) <> 0))
-        or ((a = amInvulnerable) and ((GameFlags and gfInvulnerable) <> 0))
+        or ((a in [amInvulnerable, amResurrector, amVampiric]) and ((GameFlags and gfInvulnerable) <> 0))
         or ((a = amLaserSight) and ((GameFlags and gfLaserSight) <> 0))
         or ((a = amVampiric) and ((GameFlags and gfVampiric) <> 0))
         or ((a = amExtraTime) and (cHedgehogTurnTime >= 1000000))