diff options
author | rubidium <rubidium@openttd.org> | 2009-01-22 00:08:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-22 00:08:15 +0000 |
commit | a2a5cad3035552d58452b2688c0f34efb2cd1790 (patch) | |
tree | 0cd47d2960498ef73664e9a84ac6d95c7398f563 /src | |
parent | 6126db001eae810c5ff038d8b700ce348ad7aee9 (diff) | |
download | openttd-a2a5cad3035552d58452b2688c0f34efb2cd1790.tar.xz |
(svn r15202) -Fix (r14827): only make quick goto active for your own company
Diffstat (limited to 'src')
-rw-r--r-- | src/order_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 29ab47296..a854cff21 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -636,7 +636,7 @@ public: this->selected_order = -1; this->vehicle = v; - if (_settings_client.gui.quick_goto) { + if (_settings_client.gui.quick_goto && v->owner == _local_company) { /* If there are less than 2 station, make Go To active. */ int station_orders = 0; const Order *order; |