Fix #24998: Some custom small scenery objects do not load

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2025-09-23 14:06:20 +02:00
1 parent 9e02ba453e
commit 3e11a8efdf
2 files changed
+3

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
- Fix: [#24513] Ride/track designs can now be shifted underground as well.
- Fix: [#24682] The scenery window isn't enough to accommodate all tool buttons when there are multiple rows of groups/tabs.
- Fix: [#24882] Guests are shown with hats and umbrellas whilst clapping.
- Fix: [#24998] Some custom small scenery objects do not load.
- Fix: [#25131] The Reverse Freefall Coaster On-ride photo section track has incorrectly coloured ties.
- Fix: [#25132] Crash when trying to use simulate on incomplete ride.
- Fix: [#25134] Vehicles visually glitch on diagonal steep slopes.
@@ -35,6 +35,8 @@ namespace OpenRCT2
_legacyType.animation_mask = stream->ReadValue<uint16_t>();
_legacyType.num_frames = stream->ReadValue<uint16_t>();
_legacyType.scenery_tab_id = kObjectEntryIndexNull;
// Skip past the reserved space for the scenery_tab_id and an unused byte - the string table starts at offset 0x1C.
stream->Seek(2, STREAM_SEEK_CURRENT);
GetStringTable().Read(context, stream, ObjectStringID::NAME);