summaryrefslogtreecommitdiff
path: root/src/order.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-04 13:46:21 +0000
committertron <tron@openttd.org>2007-02-04 13:46:21 +0000
commit3690fbcc6e9db3cbc68ee2b6f709e05e749eed76 (patch)
treeaa513ade38eab3747650db2d4cf98178d4a68930 /src/order.h
parent3d59cf057356836c56ab782de7253f7612982b04 (diff)
downloadopenttd-3690fbcc6e9db3cbc68ee2b6f709e05e749eed76.tar.xz
(svn r8582) -Fix
Reorder the attributes of some structs to reduce their size
Diffstat (limited to 'src/order.h')
-rw-r--r--src/order.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/order.h b/src/order.h
index 7d14d6c15..64d39d586 100644
--- a/src/order.h
+++ b/src/order.h
@@ -89,12 +89,12 @@ enum {
* - REF_SHEDULE (all REFs are currently limited to 16 bits!!)
*/
typedef struct Order {
+ struct Order *next; ///< Pointer to next order. If NULL, end of list
+
OrderTypeByte type;
uint8 flags;
DestinationID dest; ///< The destionation of the order.
- struct Order *next; ///< Pointer to next order. If NULL, end of list
-
OrderID index; ///< Index of the order, is not saved or anything, just for reference
CargoID refit_cargo; // Refit CargoID