mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Use u8 strings when dealing with file paths
This commit is contained in:
@@ -585,7 +585,7 @@ private:
|
||||
|
||||
// Find a unique file name
|
||||
auto fileName = GetFileNameForNewObject(generation, name);
|
||||
auto extension = (generation == ObjectGeneration::DAT ? ".DAT" : ".parkobj");
|
||||
auto extension = (generation == ObjectGeneration::DAT ? u8".DAT" : u8".parkobj");
|
||||
auto fullPath = Path::Combine(userObjPath, fileName + extension);
|
||||
auto counter = 1U;
|
||||
while (File::Exists(fullPath))
|
||||
|
||||
Reference in New Issue
Block a user