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)
}
}
}
cr_output_messages(F, r->msgs, f);
{
message_list *mlist = r_getmessages(r, f);
if (mlist)
cr_output_messages(F, mlist, f);
}
if (sr->mode == see_unit || sr->mode == see_travel) {
cr_output_messages(F, r->msgs, f);
{
message_list *mlist = r_getmessages(r, f);
if (mlist)
cr_output_messages(F, mlist, f);
}
}
/* buildings */
for (b = rbuildings(r); b; b = b->next) {
int fno = -1;