From 949762fc65121d152d85f82902e2a67f95546db0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 6 Apr 2008 21:54:22 +0000 Subject: (svn r12595) -Codechange: hide Order's flags in the last few cases. --- src/order_base.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/order_base.h') 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. -- cgit v1.2.3-54-g00ecf