branch | transitional_engine |
changeset 15929 | 128ace913837 |
parent 15897 | d7b53d08ad9c |
child 16004 | 2146cb7be36f |
--- a/hedgewars/uCommandHandlers.pas Tue Dec 13 21:21:55 2022 +0100 +++ b/hedgewars/uCommandHandlers.pas Mon Jan 02 15:59:26 2023 +0100 @@ -586,7 +586,7 @@ if bShowAmmoMenu then bShowAmmoMenu:= false - else if not(CurrentTeam^.Extdriven) and ((Gear = nil) or ((Gear^.State and (gstAttacking or gstAttacked)) <> 0) + else if ((Gear = nil) or ((Gear^.State and (gstAttacking or gstAttacked)) <> 0) or ((Gear^.State and gstHHDriven) = 0)) then begin end