mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Create enum class for FileMode
This commit is contained in:
@@ -738,7 +738,7 @@ namespace OpenRCT2
|
||||
return true;
|
||||
}
|
||||
|
||||
auto fs = FileStream(path, FILE_MODE_OPEN);
|
||||
auto fs = FileStream(path, FileMode::open);
|
||||
if (!LoadParkFromStream(&fs, path, loadTitleScreenOnFail, asScenario))
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user