hedgewars/CCHandlers.inc
changeset 288 929c44745fd9
parent 281 5b483aa9f2ab
child 312 c36d0b34ac3d
--- a/hedgewars/CCHandlers.inc	Thu Nov 30 22:36:07 2006 +0000
+++ b/hedgewars/CCHandlers.inc	Tue Dec 05 17:27:27 2006 +0000
@@ -117,11 +117,17 @@
    Gear:= AddGear(0, 0, gtHedgehog, 0);
    Gear.Hedgehog:= @CurrentTeam.Hedgehogs[b];
    PHedgehog(Gear.Hedgehog).Team:= CurrentTeam;
+   CurrentTeam.Hedgehogs[b].AmmoStore:= 0;
    CurrentTeam.Hedgehogs[b].Gear:= Gear
    end
 else OutError(errmsgUnknownVariable + ' "' + id + '"', true)
 end;
 
+procedure chAddAmmoStore(var descr: shortstring);
+begin
+AddAmmoStore(descr)
+end;
+
 procedure chBind(var id: shortstring);
 var s: shortstring;
     b: integer;