diff options
author | frosch <frosch@openttd.org> | 2011-01-09 13:11:50 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-01-09 13:11:50 +0000 |
commit | 716f4e924e0d361cfcc01045ab5b78a0f6ca38cc (patch) | |
tree | bc87feeac213b83423200dd7678950f634062aaa /src | |
parent | c8a4d122c58519b594837f1b9a21283817a38ce3 (diff) | |
download | openttd-716f4e924e0d361cfcc01045ab5b78a0f6ca38cc.tar.xz |
(svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination.
Diffstat (limited to 'src')
-rw-r--r-- | src/order_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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: |