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 | a89e63f6726add32b589b69abad5c24565d67217 (patch) | |
tree | 0cd47d2960498ef73664e9a84ac6d95c7398f563 /src | |
parent | 01cc5234dc5abc6613c0468069e30803f206d9d3 (diff) | |
download | openttd-a89e63f6726add32b589b69abad5c24565d67217.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; |