--- a/hedgewars/uCommandHandlers.pas Wed Feb 14 22:56:32 2018 +0100
+++ b/hedgewars/uCommandHandlers.pas Wed Feb 14 23:03:35 2018 +0100
@@ -628,9 +628,15 @@
// Rotate Tags key + Switch: Toggle translucency only
if LocalMessage and gmSwitch = gmSwitch then
if ((cTagsMask and htTransparent) = 0) then
- cTagsMask:= cTagsMask or htTransparent
+ begin
+ cTagsMask:= cTagsMask or htTransparent;
+ cPrevTagsMask:= cPrevTagsMask or htTransparent
+ end
else
- cTagsMask:= cTagsMask and (not htTransparent)
+ begin
+ cTagsMask:= cTagsMask and (not htTransparent);
+ cPrevTagsMask:= cPrevTagsMask and (not htTransparent)
+ end
// Rotate Tags key + Precise: Toggle all tags on and off
else if LocalMessage and gmPrecise = gmPrecise then
if ((cTagsMask and (htTeamName or htName or htHealth)) = 0) then