Keine Burgen oder Schiffe in Land-Turmregionen zeigen.

This commit is contained in:
Enno Rehling 2019-08-20 19:31:52 +02:00
parent e5c4bd5013
commit b4867e4679

View file

@ -1503,6 +1503,7 @@ static void cr_output_region(FILE * F, report_context * ctx, region * r)
cr_output_messages(F, mlist, f); cr_output_messages(F, mlist, f);
} }
} }
if (r->seen.mode >= seen_lighthouse) {
/* buildings */ /* buildings */
for (b = rbuildings(r); b; b = b->next) { for (b = rbuildings(r); b; b = b->next) {
int fno = -1; int fno = -1;
@ -1525,7 +1526,6 @@ static void cr_output_region(FILE * F, report_context * ctx, region * r)
cr_output_ship_compat(F, sh, u, fno, f, r); cr_output_ship_compat(F, sh, u, fno, f, r);
} }
/* visible units */ /* visible units */
for (u = r->units; u; u = u->next) { for (u = r->units; u; u = u->next) {
if (visible_unit(u, f, stealthmod, r->seen.mode)) { if (visible_unit(u, f, stealthmod, r->seen.mode)) {
@ -1533,6 +1533,7 @@ static void cr_output_region(FILE * F, report_context * ctx, region * r)
} }
} }
} }
}
} }
static void report_itemtype(FILE *F, faction *f, const item_type *itype) { static void report_itemtype(FILE *F, faction *f, const item_type *itype) {