# HG changeset patch # User nemo # Date 1265633398 0 # Node ID 77c030ac978e0390a99945ab2c939adba55ac8b7 # Parent aa3120a9e22c1e059bafcccd5826bcce52764b78 Yay for burning through revision numbers diff -r aa3120a9e22c -r 77c030ac978e 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