1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

use overridden object strings

This commit is contained in:
Ted John
2016-07-04 18:53:35 +01:00
parent 13e9a76732
commit 2824224710
24 changed files with 68 additions and 86 deletions

View File

@@ -152,13 +152,6 @@ void SmallSceneryObject::DrawPreview(rct_drawpixelinfo * dpi) const
}
}
const utf8 * SmallSceneryObject::GetName() const
{
const utf8 * name = GetStringTable()->GetString(OBJ_STRING_ID_NAME);
return name != nullptr ? name : "";
}
uint8 * SmallSceneryObject::ReadVar10(IStream * stream)
{
uint8 b;