mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Turn WindowDetail into strong enum
This commit is contained in:
@@ -1716,10 +1716,10 @@ namespace OpenRCT2
|
||||
return windowManager->OpenView(wc);
|
||||
}
|
||||
|
||||
WindowBase* ContextOpenDetailWindow(uint8_t type, int32_t id)
|
||||
WindowBase* ContextOpenDetailWindow(WindowDetail type, int32_t id)
|
||||
{
|
||||
auto windowManager = Ui::GetWindowManager();
|
||||
return windowManager->OpenDetails(type, id);
|
||||
return windowManager->openDetails(type, id);
|
||||
}
|
||||
|
||||
WindowBase* ContextOpenIntent(Intent* intent)
|
||||
|
||||
Reference in New Issue
Block a user