From a2a5cad3035552d58452b2688c0f34efb2cd1790 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 22 Jan 2009 00:08:15 +0000 Subject: (svn r15202) -Fix (r14827): only make quick goto active for your own company --- src/order_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/order_gui.cpp') 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; -- cgit v1.2.3-54-g00ecf