From a89e63f6726add32b589b69abad5c24565d67217 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(-) 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-70-g09d2