|
|
|
@ -1831,7 +1831,7 @@ private:
|
|
|
|
|
StringID GetChangeOrderStringID() const
|
|
|
|
|
{
|
|
|
|
|
if (VehicleListIdentifier::UnPack(this->window_number).type == VL_STATION_LIST) {
|
|
|
|
|
return (Station::Get(this->vli.index)->facilities & FACIL_WAYPOINT) ? STR_VEHICLE_LIST_CHANGE_ORDER_WAYPOINT : STR_VEHICLE_LIST_CHANGE_ORDER_STATION;
|
|
|
|
|
return (BaseStation::Get(this->vli.index)->facilities & FACIL_WAYPOINT) ? STR_VEHICLE_LIST_CHANGE_ORDER_WAYPOINT : STR_VEHICLE_LIST_CHANGE_ORDER_STATION;
|
|
|
|
|
} else if (VehicleListIdentifier::UnPack(this->window_number).type == VL_DEPOT_LIST) {
|
|
|
|
|
return STR_VEHICLE_LIST_CHANGE_ORDER_TRAIN_DEPOT + this->vli.vtype;
|
|
|
|
|
} else {
|
|
|
|
|