(svn r14524) -Add: stop-in-depot as part of orders (PhilSophus)

This commit is contained in:
rubidium
2008-10-24 14:49:45 +00:00
parent 363c3be285
commit 4694b10706
6 changed files with 94 additions and 14 deletions

View File

@@ -1913,7 +1913,7 @@ struct VehicleViewWindow : Window {
SetDParam(0, depot->town_index);
SetDParam(1, v->GetDisplaySpeed());
}
if ((v->current_order.GetDepotActionType() & ODATFB_HALT) && !(v->current_order.GetDepotOrderType() & ODTFB_PART_OF_ORDERS)) {
if (v->current_order.GetDepotActionType() & ODATFB_HALT) {
str = _heading_for_depot_strings[v->type] + _settings_client.gui.vehicle_speed;
} else {
str = _heading_for_depot_service_strings[v->type] + _settings_client.gui.vehicle_speed;