Codechange: use parameter pack/folding instead of va_arg macros for widget states
This commit is contained in:
@@ -350,8 +350,7 @@ struct BuildRoadToolbarWindow : Window {
|
||||
this->SetWidgetsDisabledState(!can_build,
|
||||
WID_ROT_DEPOT,
|
||||
WID_ROT_BUS_STATION,
|
||||
WID_ROT_TRUCK_STATION,
|
||||
WIDGET_LIST_END);
|
||||
WID_ROT_TRUCK_STATION);
|
||||
if (!can_build) {
|
||||
CloseWindowById(WC_BUS_STATION, TRANSPORT_ROAD);
|
||||
CloseWindowById(WC_TRUCK_STATION, TRANSPORT_ROAD);
|
||||
|
Reference in New Issue
Block a user