mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix #24998: Some custom small scenery objects do not load
This commit is contained in:
committed by
GitHub
parent
9e02ba453e
commit
3e11a8efdf
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user