edit: Show the edited ship even when its owner is invalid
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
44fbf6cd30
commit
59a15113d3
1 changed files with 1 additions and 5 deletions
|
@ -364,11 +364,7 @@ print_land(struct lndstr *land)
|
||||||
static void
|
static void
|
||||||
print_ship(struct shpstr *ship)
|
print_ship(struct shpstr *ship)
|
||||||
{
|
{
|
||||||
struct natstr *natp;
|
pr("%s %s\n", prnatid(ship->shp_own), prship(ship));
|
||||||
|
|
||||||
if (!(natp = getnatp(ship->shp_own)))
|
|
||||||
return;
|
|
||||||
pr("%s %s\n", prnat(natp), prship(ship));
|
|
||||||
pr("UID <U>: %d\n", ship->shp_uid);
|
pr("UID <U>: %d\n", ship->shp_uid);
|
||||||
pr("Owner <O>: %d\t\t\t", ship->shp_own);
|
pr("Owner <O>: %d\t\t\t", ship->shp_own);
|
||||||
pr("Location <L>: %s\n", xyas(ship->shp_x, ship->shp_y, player->cnum));
|
pr("Location <L>: %s\n", xyas(ship->shp_x, ship->shp_y, player->cnum));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue