build: Reword bridge next to land messages to mention the sector

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2014-01-18 10:50:16 +01:00
parent 05f1844ca1
commit 15e3309297
2 changed files with 7 additions and 10 deletions

View file

@ -525,8 +525,8 @@ build_bspan(struct sctstr *sp)
}
if (!bridge_support_at(&sect, DIR_STOP)) {
if (opt_EASY_BRIDGES) {
pr("Bridges must be built adjacent to land or bridge towers.\n");
pr("That sector is not adjacent to land or a bridge tower.\n");
pr("%s is not next to land or a bridge tower",
xyas(newx, newy, player->cnum));
} else {
/*
* Note: because players need a 60% bridge head or tower,
@ -619,8 +619,8 @@ build_btower(struct sctstr *sp)
getsect(nx, ny, &s2);
if ((s2.sct_type != SCT_WATER) &&
(s2.sct_type != SCT_BTOWER) && (s2.sct_type != SCT_BSPAN)) {
pr("Bridge towers cannot be built adjacent to land.\n");
pr("That sector is adjacent to land.\n");
pr("%s is next to land, can't build bridge tower there",
xyas(newx, newy, player->cnum));
return 0;
}
}