equal
deleted
inserted
replaced
1967 } else { |
1967 } else { |
1968 Depot *depot = GetDepot(v->current_order.GetDestination()); |
1968 Depot *depot = GetDepot(v->current_order.GetDestination()); |
1969 SetDParam(0, depot->town_index); |
1969 SetDParam(0, depot->town_index); |
1970 SetDParam(1, v->GetDisplaySpeed()); |
1970 SetDParam(1, v->GetDisplaySpeed()); |
1971 } |
1971 } |
1972 if (HasBit(v->current_order.GetDepotActionType(), OF_HALT_IN_DEPOT) && !HasBit(v->current_order.GetDepotOrderType(), OF_PART_OF_ORDERS)) { |
1972 if ((v->current_order.GetDepotActionType() & ODATFB_HALT) && !(v->current_order.GetDepotOrderType() & ODTFB_PART_OF_ORDERS)) { |
1973 str = _heading_for_depot_strings[v->type] + _patches.vehicle_speed; |
1973 str = _heading_for_depot_strings[v->type] + _patches.vehicle_speed; |
1974 } else { |
1974 } else { |
1975 str = _heading_for_depot_service_strings[v->type] + _patches.vehicle_speed; |
1975 str = _heading_for_depot_service_strings[v->type] + _patches.vehicle_speed; |
1976 } |
1976 } |
1977 } break; |
1977 } break; |