hedgewars/uCommandHandlers.pas
changeset 10439 7de934f2247c
parent 10392 5012e1f9e893
child 10455 e167cfdf6e80
equal deleted inserted replaced
10437:e586b8af4569 10439:7de934f2247c
   537 
   537 
   538 procedure chAmmoMenu(var s: shortstring);
   538 procedure chAmmoMenu(var s: shortstring);
   539 begin
   539 begin
   540 s:= s; // avoid compiler hint
   540 s:= s; // avoid compiler hint
   541 if CheckNoTeamOrHH then
   541 if CheckNoTeamOrHH then
   542     bShowAmmoMenu:= true
   542     bShowAmmoMenu:= (not bShowAmmoMenu)
   543 else
   543 else
   544     begin
   544     begin
   545     with CurrentTeam^ do
   545     with CurrentTeam^ do
   546         with Hedgehogs[CurrHedgehog] do
   546         with Hedgehogs[CurrHedgehog] do
   547             begin
   547             begin