Backed out changeset c19e5ece5b3f
authorWuzzy <almikes@aol.com>
Fri, 22 Sep 2017 19:17:06 +0200
changeset 12495 b4eb289b5913
parent 12494 f545ae26262f
child 12496 24cd4840d3e2
Backed out changeset c19e5ece5b3f Because the controls scheme was actually intentional. Whoops!
hedgewars/uCommandHandlers.pas
--- a/hedgewars/uCommandHandlers.pas	Fri Sep 22 18:59:54 2017 +0200
+++ b/hedgewars/uCommandHandlers.pas	Fri Sep 22 19:17:06 2017 +0200
@@ -614,28 +614,26 @@
 procedure chRotateMask(var s: shortstring);
 begin
 s:= s; // avoid compiler hint
-// RotateMask key + Switch + Precise: Toggle entire HUD
+// this is just for me, 'cause I thought it'd be fun.  using the old precise + switch to keep it out of people's way
 if LocalMessage and (gmPrecise or gmSwitch) = (gmPrecise or gmSwitch) then
     begin
     if UIDisplay <> uiNone then
          UIDisplay:= uiNone
     else UIDisplay:= uiAll
     end
-// Rotate Mask key + Precise: Toggle team bars
 else if LocalMessage and gmPrecise = gmPrecise then
     begin
-    if UIDisplay <> uiNoTeams then
-         UIDisplay:= uiNoTeams
-    else UIDisplay:= uiAll
-    end
-// Rotate Mask key only: Change hedgehog tags
-else
-    begin
     if ((GameFlags and gfInvulnerable) = 0) then
         cTagsMask:= cTagsMasks[cTagsMask]
     else
         cTagsMask:= cTagsMasksNoHealth[cTagsMask]
     end
+else
+    begin
+    if UIDisplay <> uiNoTeams then
+         UIDisplay:= uiNoTeams
+    else UIDisplay:= uiAll
+    end
 end;
 
 procedure chSpeedup_p(var s: shortstring);