(svn r1544) -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to

crash from time to time
-Codechange: added const before 'Order *' where possible
This commit is contained in:
truelight
2005-01-16 14:42:53 +00:00
parent be5a832db3
commit 8e404a26f6
5 changed files with 8 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ static inline Order *GetOrder(uint index)
static inline bool HasOrderPoolFree(uint amount)
{
Order *order;
const Order *order;
FOR_ALL_ORDERS(order)
if (order->type == OT_NOTHING)