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

Load temporary map animations from S4 files

This commit is contained in:
mix
2025-05-21 07:57:26 +01:00
parent 43b0ed6dc8
commit 57148e137a
7 changed files with 28 additions and 2 deletions

View File

@@ -2848,6 +2848,7 @@ bool NetworkBase::LoadMap(IStream* stream)
auto loadResult = importer->LoadFromStream(stream, false);
objManager.LoadObjects(loadResult.RequiredObjects);
MapAnimation::ClearAll();
// TODO: Have a separate GameState and exchange once loaded.
auto& gameState = getGameState();
importer->Import(gameState);