From 716f4e924e0d361cfcc01045ab5b78a0f6ca38cc Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 9 Jan 2011 13:11:50 +0000 Subject: (svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination. --- src/order_cmd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index a17a67cbc..fd4b64e4c 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -429,6 +429,7 @@ TileIndex Order::GetLocation(const Vehicle *v) const switch (this->GetType()) { case OT_GOTO_WAYPOINT: case OT_GOTO_STATION: + case OT_AUTOMATIC: return BaseStation::Get(this->GetDestination())->xy; case OT_GOTO_DEPOT: -- cgit v1.2.3-54-g00ecf