(LND_AMM): Became weird in 4.2.3: ammo use depends on l_dam if l_ammo

is non-zero; actual value of non-zero l_ammo was unimportant.  Side
effect: it substantially increased ammunition consumption at high
tech, because the change made the value increase with tech.  Back out
4.2.3's change, just use l_ammo.  This lets deities customize
ammunition consumption independent of damage.  Remove second
parameter.  Callers changed.
This commit is contained in:
Markus Armbruster 2006-07-08 07:21:47 +00:00
parent 35758fe053
commit 99fc82b94d
3 changed files with 3 additions and 3 deletions

View file

@ -482,7 +482,7 @@ show_land_stats(int tlev)
(int)LND_FRG(lcp->l_frg, ourtlev),
(int)LND_ACC(lcp->l_acc, ourtlev),
(int)LND_DAM(lcp->l_dam, ourtlev),
(int)LND_AMM(lcp->l_ammo, lcp->l_dam, ourtlev),
(int)LND_AMM(lcp->l_ammo, ourtlev),
(int)LND_AAF(lcp->l_aaf, ourtlev));
pr("%2d %2d %2d %2d ",
(int)LND_FC(lcp->l_fuelc, ourtlev),