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
|
||||
set_order(&u->lastorder, new_order);
|
||||
#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 */
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue