changeset 15043 | 9a7a5833fad2 |
parent 15017 | 7ff86274114e |
child 15064 | 35932896ce84 |
--- a/hedgewars/uGearsHedgehog.pas Tue May 21 15:15:17 2019 +0200 +++ b/hedgewars/uGearsHedgehog.pas Tue May 21 16:32:34 2019 +0200 @@ -147,14 +147,6 @@ HHGear^.Message:= HHGear^.Message and (not gmWeapon); -// Special case: amNothing unselects weapon -if weap = amNothing then - begin - HHGear^.Hedgehog^.CurAmmoType:= amNothing; - ApplyAmmoChanges(HHGear^.Hedgehog^); - exit - end; - if Hedgehog^.Team^.Clan^.TurnNumber <= Ammoz[weap].SkipTurns then exit; // weapon is not activated yet