# HG changeset patch # User Wuzzy # Date 1518727651 -3600 # Node ID 4234a18a082c327170a0880c0c468d4a808bab22 # Parent d82fec121f31e0d5df64a832ffabd0eb449e295c Fix hittig precise+rottags the first time when all tags started off showing health tag in gfInvulnerable diff -r d82fec121f31 -r 4234a18a082c hedgewars/uCommandHandlers.pas --- 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;