(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 6126db001e
commit a2a5cad303

View File

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