ok... how about this?
authornemo
Sun, 21 Feb 2010 22:01:59 +0000
changeset 2838 4a79fd4f04a8
parent 2837 6a1c18598b2c
child 2839 95977f876122
ok... how about this?
hedgewars/uAmmos.pas
--- a/hedgewars/uAmmos.pas	Sun Feb 21 21:55:34 2010 +0000
+++ b/hedgewars/uAmmos.pas	Sun Feb 21 22:01:59 2010 +0000
@@ -55,7 +55,6 @@
 FillChar(Ammo^, sizeof(Ammo^), 0);
 for a:= Low(TAmmoType) to High(TAmmoType) do
     begin
-    Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].InitialCount:= 0;
     if cnts[a] > 0 then
        begin
        TryDo(mi[Ammoz[a].Slot] <= cMaxSlotAmmoIndex, 'Ammo slot overflow', true);
@@ -74,7 +73,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];
+       Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].InitialCount:= 0;
 
        inc(mi[Ammoz[a].Slot])
        end