Close #12430: Refactor OBJ_STRING_ID to use strong enum (#12796)

This commit is contained in:
Łukasz Pękalski authored and GitHub committed 2020-08-28 23:36:58 -03:00
1 parent 731a93dc39
commit bfdc1f6d2a
15 files changed
+46 -46

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ void FootpathObject::ReadLegacy(IReadObjectContext* context, OpenRCT2::IStream*
_legacyType.scrolling_mode = stream->ReadValue<uint8_t>();
stream->Seek(1, OpenRCT2::STREAM_SEEK_CURRENT);
GetStringTable().Read(context, stream, OBJ_STRING_ID_NAME);
GetStringTable().Read(context, stream, ObjectStringID::NAME);
GetImageTable().Read(context, stream);
// Validate properties