vergessener replace_order aufruf an neue syntax angepasst.

This commit is contained in:
Enno Rehling 2005-05-22 12:29:56 +00:00
parent 7ed6f06a15
commit d3d32ab5ec
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }