wrong region used

This commit is contained in:
Enno Rehling 2007-02-14 22:47:38 +00:00
parent 2220f4b2c3
commit 05087b6d8e
1 changed files with 1 additions and 1 deletions

View File

@ -840,6 +840,7 @@ get_addresses(report_context * ctx)
}
for (;sr!=NULL;sr=sr->next) {
r = sr->r;
if (sr->mode==see_travel) {
unit * u = r->units;
while (u) {
@ -862,7 +863,6 @@ get_addresses(report_context * ctx)
u = u->next;
}
} else if (sr->mode<see_travel) {
const region * r = sr->r;
const unit * u = r->units;
while (u!=NULL) {
if (u->faction!=ctx->f) {