(load): Fix misleading message that assumed that only SCT_CAPIT
sectors can be canals.
This commit is contained in:
parent
588c5b12d5
commit
041c71de80
1 changed files with 2 additions and 5 deletions
|
@ -145,11 +145,8 @@ load(void)
|
||||||
}
|
}
|
||||||
if (!sect_has_dock(§)) {
|
if (!sect_has_dock(§)) {
|
||||||
if (noisy)
|
if (noisy)
|
||||||
pr("Sector %s is not a harbor%s%s.\n",
|
pr("Sector %s is not a harbor or canal.\n",
|
||||||
xyas(ship.shp_x, ship.shp_y, player->cnum),
|
xyas(ship.shp_x, ship.shp_y, player->cnum));
|
||||||
dchr[SCT_CAPIT].d_nav == NAV_CANAL ? " or a " : "",
|
|
||||||
dchr[SCT_CAPIT].d_nav == NAV_CANAL ?
|
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue