diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-10-20 13:47:58 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-10-20 13:47:58 +0000 |
commit | 54db96be43bbb94f3d5193647be2f787a192f358 (patch) | |
tree | 170110df7e7d1653f10bf55acb686495e019dc67 /src/order_base.h | |
parent | dffc4d411e64269f5dd6678a8a5d599dd50bc82c (diff) | |
download | openttd-54db96be43bbb94f3d5193647be2f787a192f358.tar.xz |
(svn r25891) -Feature: Use smallstack to allow for multiple next hops when loading and unloading.
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_base.h b/src/order_base.h index 9965b9e5f..85d8a05a7 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -263,7 +263,7 @@ public: */ inline VehicleOrderID GetNumManualOrders() const { return this->num_manual_orders; } - StationID GetNextStoppingStation(const Vehicle *v, const Order *first = NULL) const; + StationIDStack GetNextStoppingStation(const Vehicle *v, const Order *first = NULL) const; const Order *GetNextDecisionNode(const Order *next, uint hops) const; void InsertOrderAt(Order *new_order, int index); |