forked from github/server
vergessener replace_order aufruf an neue syntax angepasst.
This commit is contained in:
parent
7ed6f06a15
commit
d3d32ab5ec
|
@ -427,7 +427,7 @@ teach(unit * u, struct order * ord)
|
||||||
#ifdef LASTORDER
|
#ifdef LASTORDER
|
||||||
set_order(&u->lastorder, new_order);
|
set_order(&u->lastorder, new_order);
|
||||||
#else
|
#else
|
||||||
replace_order(ord, new_order);
|
replace_order(&u->orders, ord, new_order);
|
||||||
free_order(new_order); /* parse_order & set_order have each increased the refcount */
|
free_order(new_order); /* parse_order & set_order have each increased the refcount */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue