mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
read footpath objects correctly
This commit is contained in:
@@ -32,12 +32,12 @@ enum OBJ_STRING_ID
|
||||
void FootpathObject::ReadLegacy(IStream * stream)
|
||||
{
|
||||
_legacyType.string_idx = stream->ReadValue<rct_string_id>();
|
||||
_legacyType.image = stream->ReadValue<rct_string_id>();
|
||||
_legacyType.image = stream->ReadValue<uint32>();
|
||||
_legacyType.bridge_image = stream->ReadValue<uint32>();
|
||||
_legacyType.var_0A = stream->ReadValue<uint8>();
|
||||
_legacyType.flags = stream->ReadValue<uint8>();
|
||||
_legacyType.scrolling_mode = stream->ReadValue<uint8>();
|
||||
stream->Seek(1, STREAM_SEEK_BEGIN);
|
||||
stream->Seek(1, STREAM_SEEK_CURRENT);
|
||||
|
||||
GetStringTable()->Read(stream, OBJ_STRING_ID_NAME);
|
||||
GetImageTable()->Read(stream);
|
||||
|
||||
Reference in New Issue
Block a user