forked from github/server
listen-iteration will gelernt sein...
This commit is contained in:
parent
001d9461a1
commit
1ca01109eb
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ unitorders(FILE * F, struct faction * f)
|
||||||
while (*ordp) {
|
while (*ordp) {
|
||||||
order * ord = *ordp;
|
order * ord = *ordp;
|
||||||
if (!is_repeated(ord)) {
|
if (!is_repeated(ord)) {
|
||||||
ordp = &ord->next;
|
*ordp = ord->next;
|
||||||
free_order(ord);
|
free_order(ord);
|
||||||
} else {
|
} else {
|
||||||
ordp = &ord->next;
|
ordp = &ord->next;
|
||||||
|
|
Loading…
Reference in a new issue