hedgewars/uCommandHandlers.pas
branchwebgl
changeset 8833 c13ebed437cb
parent 8444 75db7bb8dce8
parent 8556 6f4c2711baa6
child 9127 e350500c4edb
equal deleted inserted replaced
8450:404ddce27b23 8833:c13ebed437cb
   593             bSelected:= false;
   593             bSelected:= false;
   594 
   594 
   595             if bShowAmmoMenu then
   595             if bShowAmmoMenu then
   596                 bShowAmmoMenu:= false
   596                 bShowAmmoMenu:= false
   597             else if not(CurrentTeam^.Extdriven) and (((Gear^.State and (gstAttacking or gstAttacked)) <> 0)
   597             else if not(CurrentTeam^.Extdriven) and (((Gear^.State and (gstAttacking or gstAttacked)) <> 0)
   598             or ((MultiShootAttacks > 0) and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEnd) = 0))
       
   599             or ((Gear^.State and gstHHDriven) = 0)) then
   598             or ((Gear^.State and gstHHDriven) = 0)) then
   600                 begin
   599                 begin
   601                 end
   600                 end
   602             else
   601             else
   603                 bShowAmmoMenu:= true
   602                 bShowAmmoMenu:= true