summaryrefslogtreecommitdiff
path: root/src/order_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-06 21:54:22 +0000
committerrubidium <rubidium@openttd.org>2008-04-06 21:54:22 +0000
commit949762fc65121d152d85f82902e2a67f95546db0 (patch)
treeac784669683066f25e2ad6020ab2249eaa0c9ca0 /src/order_base.h
parentaaabd593695deb1ed514383f6bb51b5d0c8030de (diff)
downloadopenttd-949762fc65121d152d85f82902e2a67f95546db0.tar.xz
(svn r12595) -Codechange: hide Order's flags in the last few cases.
Diffstat (limited to 'src/order_base.h')
-rw-r--r--src/order_base.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/order_base.h b/src/order_base.h
index b592aa2d5..b0c77b956 100644
--- a/src/order_base.h
+++ b/src/order_base.h
@@ -28,6 +28,7 @@ private:
friend const struct SaveLoad *GetOrderDescription(); ///< Saving and loading of orders.
OrderTypeByte type; ///< The type of order
+ uint8 flags; ///< 'Sub'type of order
DestinationID dest; ///< The destination of the order.
CargoID refit_cargo; ///< Refit CargoID
@@ -36,8 +37,6 @@ private:
public:
Order *next; ///< Pointer to next order. If NULL, end of list
- uint8 flags; ///< 'Sub'type of order
-
uint16 wait_time; ///< How long in ticks to wait at the destination.
uint16 travel_time; ///< How long in ticks the journey to this destination should take.