hedgewars/uCommandHandlers.pas
changeset 8556 6f4c2711baa6
parent 8370 0c79946e96f8
child 8833 c13ebed437cb
child 8912 78ea1839aac9
equal deleted inserted replaced
8553:a8e1cff496d8 8556:6f4c2711baa6
   592             bSelected:= false;
   592             bSelected:= false;
   593 
   593 
   594             if bShowAmmoMenu then
   594             if bShowAmmoMenu then
   595                 bShowAmmoMenu:= false
   595                 bShowAmmoMenu:= false
   596             else if not(CurrentTeam^.Extdriven) and (((Gear^.State and (gstAttacking or gstAttacked)) <> 0)
   596             else if not(CurrentTeam^.Extdriven) and (((Gear^.State and (gstAttacking or gstAttacked)) <> 0)
   597             or ((MultiShootAttacks > 0) and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEnd) = 0))
       
   598             or ((Gear^.State and gstHHDriven) = 0)) then
   597             or ((Gear^.State and gstHHDriven) = 0)) then
   599                 begin
   598                 begin
   600                 end
   599                 end
   601             else
   600             else
   602                 bShowAmmoMenu:= true
   601                 bShowAmmoMenu:= true