forked from github/server
cr_report should also check if region messages can be heard (bug #1973)
This commit is contained in:
parent
9f9043e4dd
commit
3433ffd1bc
|
@ -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);
|
||||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue