Fix #27233: openrct2 parkinfo object segfaults when called with a scenario

This commit is contained in:
Gymnasiast committed 2026-10-04 11:54:29 +02:00
1 parent 5417ea3fba
commit dff8086726
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -39,6 +39,7 @@
- Fix: [#27136] Guests keep waiting at a level crossing after the train has passed, due to faulty iteration over the track the train has vacated.
- Fix: [#27212] Chain lifts are blue in screenshots taken from the command line.
- Fix: [#27218] Tile inspector coordinate spinners are too short for coordinate 1000.
- Fix: [#27233] `openrct2 parkinfo objects` crashes when called with a scenario instead of save.
- Fix: [#27234] [Plugin] Setting `TrackElement.seatRotation` fails on every ride except mazes, where it does not apply.
0.5.5 (2026-09-06)
@@ -90,7 +90,7 @@ namespace OpenRCT2
// Save is an S6 (RCT2 format)
parkImporter = ParkImporter::CreateS6(objectRepository);
}
auto loadResult = parkImporter->LoadSavedGame(sourcePath.c_str());
auto loadResult = parkImporter->Load(sourcePath.c_str(), false);
Console::WriteLine("File contains the following objects: ");
Console::WriteLine();