hedgewars/uAmmos.pas
changeset 2837 6a1c18598b2c
parent 2819 8c3f078bc67d
child 2838 4a79fd4f04a8
--- a/hedgewars/uAmmos.pas	Sun Feb 21 19:03:46 2010 +0000
+++ b/hedgewars/uAmmos.pas	Sun Feb 21 21:55:34 2010 +0000
@@ -74,6 +74,7 @@
        Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]]:= Ammoz[a].Ammo;
 
        Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].Count:= AMMO_INFINITE;
+       Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].InitialCount:= cnts[a];
 
        inc(mi[Ammoz[a].Slot])
        end