forked from rosebudai/OpenRCT2-Web
Make rct_windowclass strong type WindowClass
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp). The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
This commit is contained in:
1 parent
ebe38a91ce
commit
7f29e4e39c
145 files changed
+1331
-1235
No files matched your search
@@ -118,7 +118,7 @@ exitcode_t CommandLine::HandleCommandConvert(CommandLineArgEnumerator* enumerato
|
||||
|
||||
// HACK remove the main window so it saves the park with the
|
||||
// correct initial view
|
||||
window_close_by_class(WC_MAIN_WINDOW);
|
||||
window_close_by_class(WindowClass::MainWindow);
|
||||
|
||||
exporter->Export(destinationPath);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user