# HG changeset patch
# User nemo
# Date 1286410854 14400
# Node ID fd04228971b32dfb46652aa297a388504c8dfc67
# Parent  9a4bbc1f67a24dbacebcf44b6cdeb7b1a906f52d
Set ammo to amNothing after using up the current ammo.  This should reduce noob fail where they blow themselves up w/ bazooka.

diff -r 9a4bbc1f67a2 -r fd04228971b3 hedgewars/uAmmos.pas
--- a/hedgewars/uAmmos.pas	Wed Oct 06 15:37:56 2010 -0400
+++ b/hedgewars/uAmmos.pas	Wed Oct 06 20:20:54 2010 -0400
@@ -243,7 +243,8 @@
             if Count = 0 then
                 begin
                 PackAmmo(Ammo, Ammoz[AmmoType].Slot);
-                SwitchNotHeldAmmo(Hedgehog)
+                //SwitchNotHeldAmmo(Hedgehog);
+                CurAmmoType:= amNothing
                 end
             end
     end