edit: Show edited planes and land units just like ships
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
59a15113d3
commit
53d0edc838
2 changed files with 6 additions and 0 deletions
|
@ -313,6 +313,7 @@ print_nat(struct natstr *np)
|
|||
static void
|
||||
print_plane(struct plnstr *plane)
|
||||
{
|
||||
pr("%s %s\n", prnatid(plane->pln_own), prplane(plane));
|
||||
pr("UID <U>: %d\t\t", plane->pln_uid);
|
||||
pr("Owner <O>: %d\t\t", plane->pln_own);
|
||||
pr("Location <l>: %s\n",
|
||||
|
@ -330,6 +331,7 @@ print_plane(struct plnstr *plane)
|
|||
static void
|
||||
print_land(struct lndstr *land)
|
||||
{
|
||||
pr("%s %s\n", prnatid(land->lnd_own), prland(land));
|
||||
pr("UID <U>: %d\n", land->lnd_uid);
|
||||
pr("Owner <O>: %d\n", land->lnd_own);
|
||||
pr("Location <L>: %s\n", xyas(land->lnd_x, land->lnd_y, player->cnum));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue