(lnd_getmil, total_mil): Trivial, inline into callers and remove. The
abstraction from actual land unit mil encoding provided by them was too leaky to be relied upon anyway.
This commit is contained in:
parent
3a38e91a5c
commit
2732ac5d1d
15 changed files with 43 additions and 62 deletions
|
@ -439,7 +439,7 @@ get_minimum(struct lndstr *lp, i_type type)
|
|||
if (opt_NOFOOD)
|
||||
return 0; /* no food reqd, get out */
|
||||
want = (((double)etu_per_update * eatrate) *
|
||||
(double)total_mil(lp)) + 1;
|
||||
(double)lp->lnd_item[I_MILIT]) + 1;
|
||||
break;
|
||||
case I_SHELL:
|
||||
want = lp->lnd_ammo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue