(unit_view): Replace mpr() with pr() as unit_view() is only called
from navigate or march command.
This commit is contained in:
parent
7434da679e
commit
2b79442a82
1 changed files with 3 additions and 4 deletions
|
@ -191,12 +191,11 @@ unit_view(struct emp_qelem *list)
|
|||
getsect(ulp->unit.gen.x, ulp->unit.gen.y, §);
|
||||
if (ulp->unit.ef_type == EF_SHIP) {
|
||||
if (((struct mchrstr *)ulp->chrp)->m_flags & M_FOOD)
|
||||
mpr(ulp->unit.gen.own, "[fert:%d] ", sect.sct_fertil);
|
||||
pr("[fert:%d] ", sect.sct_fertil);
|
||||
if (((struct mchrstr *)ulp->chrp)->m_flags & M_OIL)
|
||||
mpr(ulp->unit.gen.own, "[oil:%d] ", sect.sct_oil);
|
||||
pr("[oil:%d] ", sect.sct_oil);
|
||||
}
|
||||
mpr(ulp->unit.gen.own, "%s @ %s %d%% %s\n",
|
||||
obj_nameof(&ulp->unit.gen),
|
||||
pr("%s @ %s %d%% %s\n", obj_nameof(&ulp->unit.gen),
|
||||
xyas(ulp->unit.gen.x, ulp->unit.gen.y, player->cnum),
|
||||
sect.sct_effic, dchr[sect.sct_type].d_name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue