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/vehicle_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/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index ef5afa568..ddd74cec1 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -628,7 +628,7 @@ public: * Get the next station the vehicle will stop at. * @return ID of the next station the vehicle will stop at or INVALID_STATION. */ - inline StationID GetNextStoppingStation() const + inline StationIDStack GetNextStoppingStation() const { return (this->orders.list == NULL) ? INVALID_STATION : this->orders.list->GetNextStoppingStation(this); } |