forked from mirror/OpenTTD
Fix #12019: Correctly highlight depot unbunch action in dropdown
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user