Flip Switch/Precise key combintions with change hog tags
authorWuzzy <Wuzzy2@mail.ru>
Wed, 14 Feb 2018 22:56:32 +0100
changeset 13005 c5529aabdda9
parent 13004 46ba3285449a
child 13006 876b1ef83191
Flip Switch/Precise key combintions with change hog tags
ChangeLog.txt
hedgewars/uCommandHandlers.pas
--- a/ChangeLog.txt	Wed Feb 14 22:54:13 2018 +0100
+++ b/ChangeLog.txt	Wed Feb 14 22:56:32 2018 +0100
@@ -8,8 +8,8 @@
  + Show remaining ammo when using Birdy egg or RC Plane bomb
  + Add separate control for team chat (default: U)
  + Add separate control for changing hedgehog tags (default: Home)
- + Hedgehog tag translucency is now changed with [Precise] + [Change hedgehog tags]
- + Toggle all hedgehog tags at once with [Switch] + [Change hedgehog tags]
+ + Toggle all hedgehog tags at once with [Precise] + [Change hedgehog tags]
+ + Hedgehog tag translucency is now changed with [Switch] + [Change hedgehog tags]
  * Fix time box being usable in Sudden Death with 0 health decrease
  * Fix chat input key being sometimes registered twice
 
--- a/hedgewars/uCommandHandlers.pas	Wed Feb 14 22:54:13 2018 +0100
+++ b/hedgewars/uCommandHandlers.pas	Wed Feb 14 22:56:32 2018 +0100
@@ -625,14 +625,14 @@
 procedure chRotateTags(var s: shortstring);
 begin
 s:= s; // avoid compiler hint
-// Rotate Tags key + Precise: Toggle translucency only
-if LocalMessage and gmPrecise = gmPrecise then
+// Rotate Tags key + Switch: Toggle translucency only
+if LocalMessage and gmSwitch = gmSwitch then
     if ((cTagsMask and htTransparent) = 0) then
         cTagsMask:= cTagsMask or htTransparent
     else
         cTagsMask:= cTagsMask and (not htTransparent)
-// Rotate Tags key + Switch: Toggle all tags on and off
-else if LocalMessage and gmSwitch = gmSwitch then
+// 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
         cTagsMask:= cPrevTagsMask
     else