mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-07 07:04:36 +01:00
Fix #15585: Clear Tool issues
This commit is contained in:
committed by
GitHub
parent
5eeb970787
commit
3997210bba
@@ -75,6 +75,8 @@ public:
|
||||
gClearSmallScenery = true;
|
||||
gClearLargeScenery = false;
|
||||
gClearFootpath = false;
|
||||
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
void OnClose() override
|
||||
@@ -200,7 +202,7 @@ rct_window* window_clear_scenery_open()
|
||||
if (w != nullptr)
|
||||
return w;
|
||||
|
||||
w = WindowCreate<CleanSceneryWindow>(WC_CLEAR_SCENERY, WW, WH, 0);
|
||||
w = WindowCreate<CleanSceneryWindow>(WC_CLEAR_SCENERY, ScreenCoordsXY(context_get_width() - WW, 29), WW, WH, 0);
|
||||
|
||||
if (w != nullptr)
|
||||
return w;
|
||||
|
||||
Reference in New Issue
Block a user