http://eressea.upb.de/mantis/view.php?id=341
- wenn FAHRE in einer Region gemacht wurde, wurden evtl. Einheiten
übersprungen
This commit is contained in:
Enno Rehling 2004-12-23 00:31:03 +00:00
parent 353d2775c8
commit 54e6dc3fdc
1 changed files with 4 additions and 2 deletions

View File

@ -2386,10 +2386,12 @@ movement(void)
if (*up && (*up)->region!=r) { if (*up && (*up)->region!=r) {
/* moved the upcoming unit along with u (units on ships or followers, /* moved the upcoming unit along with u (units on ships or followers,
* for example). must start from the beginning again immediately */ * for example). must start from the beginning again immediately */
up = NULL; up = &r->units;
} repeat = false;
} else {
repeat = true; repeat = true;
} }
}
/* else *up is already the next unit */ /* else *up is already the next unit */
} }
if (repeat) continue; if (repeat) continue;