mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Move WindowClose family into WindowManager (#23646)
* Replace WindowClose() calls with Close method calls where possible * Move WindowClose family into WindowManager * Remove UpdateSceneryGroupIndexes hack
This commit is contained in:
@@ -415,7 +415,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
switch (widgetIndex)
|
||||
{
|
||||
case WIDX_CLOSE:
|
||||
WindowClose(*this);
|
||||
Close();
|
||||
return;
|
||||
case WIDX_COPY_CURRENT:
|
||||
if (selected_list_item > -1 && selected_list_item < no_list_items)
|
||||
|
||||
Reference in New Issue
Block a user