Clean up suspicious coordinate system use in unit_list()
It showed unit coordinates in unit's coordinate system instead of the player's. Fortunately, they're the same, since even deities can't navigate foreign ships or march foreign land units.
This commit is contained in:
parent
40bc823474
commit
5f3fa793b7
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ unit_list(struct emp_qelem *unit_list)
|
|||
continue;
|
||||
pr("%4d ", unit->uid);
|
||||
pr("%-16.16s ", empobj_chr_name(unit));
|
||||
prxy("%4d,%-4d ", unit->x, unit->y, unit->own);
|
||||
prxy("%4d,%-4d ", unit->x, unit->y, player->cnum);
|
||||
pr("%1.1s", &unit->group);
|
||||
pr("%4d%%", unit->effic);
|
||||
if (type == EF_LAND) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue