1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Create enum class for FileMode

This commit is contained in:
Gymnasiast
2025-03-25 18:23:36 +01:00
parent 0dfc94799a
commit c5fff2bb77
29 changed files with 67 additions and 67 deletions

View File

@@ -267,7 +267,7 @@ namespace OpenRCT2::ObjectFactory
std::unique_ptr<Object> result;
try
{
auto fs = OpenRCT2::FileStream(path, OpenRCT2::FILE_MODE_OPEN);
auto fs = OpenRCT2::FileStream(path, OpenRCT2::FileMode::open);
auto chunkReader = SawyerChunkReader(&fs);
RCTObjectEntry entry = fs.ReadValue<RCTObjectEntry>();