diff options
author | rubidium <rubidium@openttd.org> | 2008-04-05 12:01:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-05 12:01:34 +0000 |
commit | 5eb5889954e571c4b3d75e572667b867f12835e5 (patch) | |
tree | ad12fc0f6d3af1973a3006e73eaa6ee14f7e23dc /src/train_cmd.cpp | |
parent | 65fedf0cfb863232d198f4b9ab9cf355b3aa3c52 (diff) | |
download | openttd-5eb5889954e571c4b3d75e572667b867f12835e5.tar.xz |
(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index a58bf0172..314af0090 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2617,6 +2617,8 @@ bad:; TileIndex Train::GetOrderStationLocation(StationID station) { + if (station == this->last_station_visited) this->last_station_visited = INVALID_STATION; + return GetStation(station)->xy; } |