(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
|
@ -468,7 +468,7 @@ perform_mission(coord x, coord y, natid victim, struct emp_qelem *list,
|
|||
if ((lp->lnd_ship != -1) || (lp->lnd_land != -1))
|
||||
continue;
|
||||
|
||||
if (lnd_getmil(lp) < 1)
|
||||
if (lp->lnd_item[I_MILIT] < 1)
|
||||
continue;
|
||||
|
||||
range = roundrange(effrange(lp->lnd_frg, lp->lnd_tech));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue