hedgewars/uCommandHandlers.pas
branchicegun
changeset 8589 3bb505fc707e
parent 8556 6f4c2711baa6
child 8833 c13ebed437cb
child 8912 78ea1839aac9
equal deleted inserted replaced
8588:47084c6fcb4e 8589:3bb505fc707e
   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