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
commit6b72228df5b43ad874f458bc7447a6c21dfe418a (patch)
treeaa513ade38eab3747650db2d4cf98178d4a68930 /src/order.h
parentccffde6d7e3522c0373b686ccb64c68014ed40a5 (diff)
downloadopenttd-6b72228df5b43ad874f458bc7447a6c21dfe418a.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