forked from github/server
Merge pull request #110 from stm2/bug1973
cr_report should also check if region messages can be heard (bug #1973)
This commit is contained in:
commit
89598dd987
|
@ -1440,12 +1440,14 @@ static void cr_output_region(FILE * F, report_context * ctx, seen_region * sr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cr_output_messages(F, r->msgs, 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)
|
message_list *mlist = r_getmessages(r, f);
|
||||||
cr_output_messages(F, mlist, f);
|
if (mlist)
|
||||||
}
|
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;
|
||||||
|
|
Loading…
Reference in New Issue