# HG changeset patch # User nemo # Date 1368727516 14400 # Node ID 552517b2388293c0917e094889d854022e389cd6 # Parent 901ee9a8a3b4d584bb8a92becb2d549089c9b5d2 bleah. sorry for spam. this reverts the first attempt in uAmmos diff -r 901ee9a8a3b4 -r 552517b23882 hedgewars/uAmmos.pas --- a/hedgewars/uAmmos.pas Thu May 16 14:02:33 2013 -0400 +++ b/hedgewars/uAmmos.pas Thu May 16 14:05:16 2013 -0400 @@ -278,9 +278,7 @@ PackAmmo(Ammo, Ammoz[AmmoType].Slot); //SwitchNotHeldAmmo(Hedgehog); if CurAmmoType = amKnife then LoadHedgehogHat(Hedgehog, Hedgehog.Hat); - if CurAmmoGear <> nil then - SetWeapon(CurAmmoGear^.AmmoType) - else CurAmmoType:= amNothing; + CurAmmoType:= amNothing end end end;