bleah. sorry for spam. this reverts the first attempt in uAmmos
authornemo
Thu, 16 May 2013 14:05:16 -0400
changeset 9006 552517b23882
parent 9004 901ee9a8a3b4
child 9007 9705ac06bab4
bleah. sorry for spam. this reverts the first attempt in uAmmos
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;