author | nemo |
Wed, 15 May 2013 23:33:38 -0400 | |
changeset 8999 | b5f0fb670b38 |
parent 8998 | d38fb4158342 |
child 9000 | af202eff659c |
--- a/hedgewars/uAmmos.pas Wed May 15 22:52:17 2013 -0400 +++ b/hedgewars/uAmmos.pas Wed May 15 23:33:38 2013 -0400 @@ -279,7 +279,7 @@ //SwitchNotHeldAmmo(Hedgehog); if CurAmmoType = amKnife then LoadHedgehogHat(Hedgehog, Hedgehog.Hat); if CurAmmoGear <> nil then - SetWeapon(CurAmmoGear^.AmmoType) + CurAmmoType:= CurAmmoGear^.AmmoType else CurAmmoType:= amNothing; end end