Fix English descriptions of path additions and banners

This commit is contained in:
Michael Steenbeek committed 2017-12-22 16:59:11 +01:00
1 parent 2e79aaf54c
commit c846d98516
2 files changed
+2

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ void BannerObject::ReadLegacy(IReadObjectContext * context, IStream * stream)
_legacyType.banner.flags = stream->ReadValue<uint8>();
_legacyType.banner.price = stream->ReadValue<sint16>();
_legacyType.banner.scenery_tab_id = stream->ReadValue<uint8>();
stream->Seek(1, STREAM_SEEK_CURRENT);
GetStringTable()->Read(context, stream, OBJ_STRING_ID_NAME);
@@ -30,6 +30,7 @@ void FootpathItemObject::ReadLegacy(IReadObjectContext * context, IStream * stre
_legacyType.path_bit.tool_id = stream->ReadValue<uint8>();
_legacyType.path_bit.price = stream->ReadValue<sint16>();
_legacyType.path_bit.scenery_tab_id = stream->ReadValue<uint8>();
stream->Seek(1, STREAM_SEEK_CURRENT);
GetStringTable()->Read(context, stream, OBJ_STRING_ID_NAME);