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

Write new object identifiers to park file

This commit is contained in:
Ted John
2021-03-30 23:26:49 +01:00
parent 62c6daecc0
commit 638bbebe59
20 changed files with 176 additions and 203 deletions

View File

@@ -83,7 +83,7 @@ static bool ImportSave(MemoryStream& stream, std::unique_ptr<IContext>& context,
auto importer = ParkImporter::CreateS6(context->GetObjectRepository());
auto loadResult = importer->LoadFromStream(&stream, false);
objManager.LoadObjects(loadResult.RequiredObjects.data(), loadResult.RequiredObjects.size());
objManager.LoadObjects(loadResult.RequiredObjects);
importer->Import();
GameInit(retainSpatialIndices);