Fix: convert console command rejects files with an SV7 extension

This commit is contained in:
Gymnasiast committed 2025-06-24 01:01:50 +02:00
1 parent f7612d56d0
commit f5acd2ba24
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -22,6 +22,7 @@
- Fix: [#24617] ‘Divide by zero’ error when updating boat hire acceleration.
- Fix: [#24626] Viewports that only follow sprites (e.g. in the Ride and Guest windows) can be made to unfollow them.
- Fix: [#24661] `convert` console command always crashes with a segmentation fault.
- Fix: [#24666] `convert` console command rejects files with an SV7 extension.
0.4.23 (2025-06-07)
------------------------------------------------------------------------
+1 -1
View File
@@ -128,7 +128,7 @@ namespace OpenRCT2::RCT2
{
return LoadScenario(path, skipObjectCheck);
}
if (String::iequals(extension, ".sv6"))
if (String::iequals(extension, ".sv6") || String::iequals(extension, ".sv7"))
{
return LoadSavedGame(path, skipObjectCheck);
}