mirror of https://github.com/OpenTTD/OpenTTD
(svn r15202) -Fix (r14827): only make quick goto active for your own company
parent
01cc5234dc
commit
a89e63f672
|
@ -636,7 +636,7 @@ public:
|
||||||
this->selected_order = -1;
|
this->selected_order = -1;
|
||||||
this->vehicle = v;
|
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. */
|
/* If there are less than 2 station, make Go To active. */
|
||||||
int station_orders = 0;
|
int station_orders = 0;
|
||||||
const Order *order;
|
const Order *order;
|
||||||
|
|
Loading…
Reference in New Issue