(svn r15202) -Fix (r14827): only make quick goto active for your own company

This commit is contained in:
rubidium 2009-01-22 00:08:15 +00:00
parent 01cc5234dc
commit a89e63f672

View File

@ -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;