Changeset - r28730:d593090c0f0e
[Not reviewed]
master
0 1 0
Tyler Trahan - 2 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
 
@@ -194,6 +194,8 @@ static int DepotActionStringIndex(const 
 
		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;
 
	}
0 comments (0 inline, 0 general)