allow toggling ammo menu while NoTeamOrHH, as suggested by unC0Rr
authorsheepluva
Mon, 20 Oct 2014 19:50:46 +0200
changeset 10439 7de934f2247c
parent 10437 e586b8af4569
child 10441 d2f599997b54
allow toggling ammo menu while NoTeamOrHH, as suggested by unC0Rr
hedgewars/uCommandHandlers.pas
--- a/hedgewars/uCommandHandlers.pas	Mon Oct 20 15:31:44 2014 +0200
+++ b/hedgewars/uCommandHandlers.pas	Mon Oct 20 19:50:46 2014 +0200
@@ -539,7 +539,7 @@
 begin
 s:= s; // avoid compiler hint
 if CheckNoTeamOrHH then
-    bShowAmmoMenu:= true
+    bShowAmmoMenu:= (not bShowAmmoMenu)
 else
     begin
     with CurrentTeam^ do