mirror of https://github.com/OpenTTD/OpenTTD.git
Change: Show unbunching action in timetable window (#12351)
This commit is contained in:
parent
ea74ca0a76
commit
2732b3d6c6
|
@ -337,8 +337,8 @@ void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int
|
||||||
SetDParam(6, CargoSpec::Get(order->GetRefitCargo())->name);
|
SetDParam(6, CargoSpec::Get(order->GetRefitCargo())->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do not show unbunching in the depot in the timetable window. */
|
/* Show unbunching depot in both order and timetable windows. */
|
||||||
if (!timetable && (order->GetDepotActionType() & ODATFB_UNBUNCH)) {
|
if (order->GetDepotActionType() & ODATFB_UNBUNCH) {
|
||||||
SetDParam(8, STR_ORDER_WAIT_TO_UNBUNCH);
|
SetDParam(8, STR_ORDER_WAIT_TO_UNBUNCH);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue