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 | ba0a9538cf47445814c344ba27e13d399ef243ca (patch) | |
tree | ad12fc0f6d3af1973a3006e73eaa6ee14f7e23dc /src/train_cmd.cpp | |
parent | c830c4a369507dba1d4c7baea80b761c0cf10e41 (diff) | |
download | openttd-ba0a9538cf47445814c344ba27e13d399ef243ca.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; } |