mirror of https://github.com/OpenTTD/OpenTTD
Fix #12019: Correctly highlight depot unbunch action in dropdown
parent
771615cb4b
commit
7b32d9cff5
|
@ -194,6 +194,8 @@ static int DepotActionStringIndex(const Order *order)
|
||||||
return DA_STOP;
|
return DA_STOP;
|
||||||
} else if (order->GetDepotOrderType() & ODTFB_SERVICE) {
|
} else if (order->GetDepotOrderType() & ODTFB_SERVICE) {
|
||||||
return DA_SERVICE;
|
return DA_SERVICE;
|
||||||
|
} else if (order->GetDepotActionType() & ODATFB_UNBUNCH) {
|
||||||
|
return DA_UNBUNCH;
|
||||||
} else {
|
} else {
|
||||||
return DA_ALWAYS_GO;
|
return DA_ALWAYS_GO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue