cr_report should also check if region messages can be heard (bug #1973)

This commit is contained in:
Steffen Mecke 2015-01-14 16:10:13 +01:00
parent 9f9043e4dd
commit 3433ffd1bc
1 changed files with 8 additions and 6 deletions

View File

@ -1440,12 +1440,14 @@ static void cr_output_region(FILE * F, report_context * ctx, seen_region * sr)
} }
} }
} }
if (sr->mode == see_unit || sr->mode == see_travel) {
cr_output_messages(F, r->msgs, f); cr_output_messages(F, r->msgs, f);
{ {
message_list *mlist = r_getmessages(r, f); message_list *mlist = r_getmessages(r, f);
if (mlist) if (mlist)
cr_output_messages(F, mlist, f); cr_output_messages(F, mlist, f);
} }
}
/* buildings */ /* buildings */
for (b = rbuildings(r); b; b = b->next) { for (b = rbuildings(r); b; b = b->next) {
int fno = -1; int fno = -1;