mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Fix #24998: Some custom small scenery objects do not load
This commit is contained in:
committed by
GitHub
parent
9e02ba453e
commit
3e11a8efdf
@@ -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