Changeset - r28730:d593090c0f0e
[Not reviewed]
master
0 1 0
Tyler Trahan - 10 months ago 2024-02-06 22:44:37
tyler@tylertrahan.com
Fix #12019: Correctly highlight depot unbunch action in dropdown
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/order_gui.cpp
Show inline comments
 
@@ -191,12 +191,14 @@ static const StringID _order_depot_actio
 
static int DepotActionStringIndex(const Order *order)
 
{
 
	if (order->GetDepotActionType() & ODATFB_HALT) {
 
		return DA_STOP;
 
	} else if (order->GetDepotOrderType() & ODTFB_SERVICE) {
 
		return DA_SERVICE;
 
	} else if (order->GetDepotActionType() & ODATFB_UNBUNCH) {
 
		return DA_UNBUNCH;
 
	} else {
 
		return DA_ALWAYS_GO;
 
	}
 
}
 

	
 
static const StringID _order_refit_action_dropdown[] = {
0 comments (0 inline, 0 general)