(svn r25891) -Feature: Use smallstack to allow for multiple next hops when loading and unloading.

This commit is contained in:
fonsinchen
2013-10-20 13:47:58 +00:00
parent b908128ffb
commit fff00b6460
7 changed files with 54 additions and 67 deletions

View File

@@ -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);
}