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
commitd90a0412301c7f2288914f13086e19283d5c039c (patch)
treeac784669683066f25e2ad6020ab2249eaa0c9ca0 /src/order_base.h
parentc0a5fa9eea431204142bcdb7ea2bc986d14786ee (diff)
downloadopenttd-d90a0412301c7f2288914f13086e19283d5c039c.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.