From 5eb5889954e571c4b3d75e572667b867f12835e5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 5 Apr 2008 12:01:34 +0000 Subject: (svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder. --- src/train_cmd.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/train_cmd.cpp') 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; } -- cgit v1.2.3-54-g00ecf