mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-27 22:24:28 +01:00
Codechange: Use EnumBitSet for WindowDefaultFlags.
This commit is contained in:
committed by
Peter Nelson
parent
efb05396a7
commit
d30e8dd1c1
@@ -355,7 +355,7 @@ static constexpr NWidgetPart _nested_terraform_widgets[] = {
|
||||
static WindowDesc _terraform_desc(
|
||||
WDP_MANUAL, "toolbar_landscape", 0, 0,
|
||||
WC_SCEN_LAND_GEN, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
WindowDefaultFlag::Construction,
|
||||
_nested_terraform_widgets,
|
||||
&TerraformToolbarWindow::hotkeys
|
||||
);
|
||||
@@ -739,7 +739,7 @@ struct ScenarioEditorLandscapeGenerationWindow : Window {
|
||||
static WindowDesc _scen_edit_land_gen_desc(
|
||||
WDP_AUTO, "toolbar_landscape_scen", 0, 0,
|
||||
WC_SCEN_LAND_GEN, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
WindowDefaultFlag::Construction,
|
||||
_nested_scen_edit_land_gen_widgets,
|
||||
&ScenarioEditorLandscapeGenerationWindow::hotkeys
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user