(load): Fix the printing of city when describing loadable sectors.

Broken in Rev. 1.21.
This commit is contained in:
Ron Koenderink 2006-01-17 22:23:13 +00:00
parent 100b39d71f
commit 80be15204b

View file

@ -155,9 +155,9 @@ load(void)
if (noisy) if (noisy)
pr("Sector %s is not a harbor%s%s.\n", pr("Sector %s is not a harbor%s%s.\n",
xyas(ship.shp_x, ship.shp_y, player->cnum), xyas(ship.shp_x, ship.shp_y, player->cnum),
IS_BIG_CITY(sect.sct_type) ? " or a " : "", dchr[SCT_CAPIT].d_nav == NAV_02 ? " or a " : "",
IS_BIG_CITY(sect.sct_type) ? dchr[SCT_CAPIT].d_nav == NAV_02 ?
dchr[sect.sct_type].d_name : ""); dchr[SCT_CAPIT].d_name : "");
continue; continue;
} }
if (sect.sct_own != player->cnum && load_unload == UNLOAD if (sect.sct_own != player->cnum && load_unload == UNLOAD