changeset 13013 | 4234a18a082c |
parent 13007 | 8a8aaaf97a95 |
child 13039 | aed4b25ff242 |
--- a/hedgewars/uCommandHandlers.pas Thu Feb 15 21:39:10 2018 +0100 +++ b/hedgewars/uCommandHandlers.pas Thu Feb 15 21:47:31 2018 +0100 @@ -649,7 +649,11 @@ // Rotate Tags key only: Toggle all hog tags on and off else if ((cTagsMask and (htTeamName or htName or htHealth)) = 0) then - cTagsMask:= cPrevTagsMask + begin + cTagsMask:= cPrevTagsMask; + if ((GameFlags and gfInvulnerable) <> 0) then + cTagsMask:= cTagsMask and (not htHealth); + end else begin cPrevTagsMask:= cTagsMask;