Endlosschleife in BETRETE

This commit is contained in:
Enno Rehling 2021-05-22 05:36:54 +02:00
parent d2cc7bde69
commit e0d6bb410e
1 changed files with 4 additions and 1 deletions

View File

@ -1208,7 +1208,10 @@ void do_enter(struct region *r, bool is_final_attempt)
unit *u = *uptr;
order **ordp = &u->orders;
if (is_paused(u->faction)) continue;
if (is_paused(u->faction)) {
uptr = &u->next;
continue;
}
while (*ordp) {
order *ord = *ordp;