hedgewars/uWorld.pas
changeset 14766 cbdfc5b1d5b8
parent 14744 f5dadf2b7d03
child 14808 9443dc6663ba
--- a/hedgewars/uWorld.pas	Mon Apr 08 03:15:34 2019 +0200
+++ b/hedgewars/uWorld.pas	Mon Apr 08 14:55:52 2019 +0200
@@ -166,6 +166,9 @@
     CurrentTeam:= ClansArray[0]^.Teams[0];
     end;
 
+if (GameFlags and gfInvulnerable) <> 0 then
+    cTagsMask:= cTagsMask and (not htHealth);
+
 // if special game flags/settings are changed, add them to the game mode notice window and then show it
 g:= ''; // no text/things to note yet