Revert switch behaviour (can't use AfterAttack here) remove unneeded value from jetpack definition
--- 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)^);
--- a/hedgewars/uConsts.pas Sun May 02 16:28:06 2010 +0000
+++ b/hedgewars/uConsts.pas Sun May 02 16:53:19 2010 +0000
@@ -1838,7 +1838,7 @@
ammoprop_AltAttack;
Count: 1;
InitialCount: 1;
- NumPerTurn: 1;
+ NumPerTurn: 0;
Timer: 0;
Pos: 0;
AmmoType: amJetpack;