diff options
author | truelight <truelight@openttd.org> | 2005-01-16 14:42:53 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-16 14:42:53 +0000 |
commit | 8e404a26f65b8851b3dcf067fddf62f188005ee9 (patch) | |
tree | 6a56912dfd4ec0a7d3c46aa7b8cd50edb2d28031 /order.h | |
parent | be5a832db39429d405f108170811f7695f1ee206 (diff) | |
download | openttd-8e404a26f65b8851b3dcf067fddf62f188005ee9.tar.xz |
(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
Diffstat (limited to 'order.h')
-rw-r--r-- | order.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |