hedgewars/GSHandlers.inc
changeset 3403 244382ea33c2
parent 3401 d5d31d16eccc
child 3404 d445798e5fe2
--- a/hedgewars/GSHandlers.inc	Sun May 02 16:28:06 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Sun May 02 16:53:19 2010 +0000
@@ -2020,7 +2020,8 @@
     HHGear:= PHedgehog(Gear^.Hedgehog)^.Gear;
     Msg:= Gear^.Message and not gm_Switch;
     DeleteGear(Gear);
-    AfterAttack;
+    OnUsedAmmo(PHedgehog(HHGear^.Hedgehog)^);
+    ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^);
 
     HHGear:= CurrentHedgehog^.Gear;
     ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^);