Yay for burning through revision numbers
authornemo
Mon, 08 Feb 2010 12:49:58 +0000
changeset 2767 77c030ac978e
parent 2766 aa3120a9e22c
child 2768 b7e0b0751179
Yay for burning through revision numbers
hedgewars/uAmmos.pas
--- a/hedgewars/uAmmos.pas	Mon Feb 08 12:49:41 2010 +0000
+++ b/hedgewars/uAmmos.pas	Mon Feb 08 12:49:58 2010 +0000
@@ -72,10 +72,9 @@
        TryDo(mi[Ammoz[a].Slot] <= cMaxSlotAmmoIndex, 'Ammo slot overflow', true);
        Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]]:= Ammoz[a].Ammo;
 
-       Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].Count:= 0;
+       Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].Count:= AMMO_INFINITE;
        Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].InitialCount:= 0;
 
-       Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].Count:= AMMO_INFINITE;
        inc(mi[Ammoz[a].Slot])
        end
     end