--- a/hedgewars/uConsts.pas Thu May 29 20:57:24 2008 +0000
+++ b/hedgewars/uConsts.pas Fri May 30 21:08:41 2008 +0000
@@ -201,7 +201,7 @@
ammoprop_AltAttack = $00000200;
ammoprop_AltUse = $00000400;
- AMMO_INFINITE = High(LongWord);
+ AMMO_INFINITE = 9;
EXPLAllDamageInRadius = $00000001;
EXPLAutoSound = $00000002;
--- a/hedgewars/uWorld.pas Thu May 29 20:57:24 2008 +0000
+++ b/hedgewars/uWorld.pas Fri May 30 21:08:41 2008 +0000
@@ -138,7 +138,7 @@
if Ammo^[Slot, Pos].Count > 0 then
begin
DrawTexture(AMxCurr + 10, cScreenHeight - 68, Ammoz[Ammo^[Slot, Pos].AmmoType].NameTex);
- if Ammo^[Slot, Pos].Count < 10 then
+ if Ammo^[Slot, Pos].Count < AMMO_INFINITE then
DrawTexture(AMxCurr + 175, cScreenHeight - 68, CountTexz[Ammo^[Slot, Pos].Count]);
if bSelected then
begin