forked from rosebudai/OpenRCT2-Web
use overridden object strings
This commit is contained in:
1 parent
13e9a76732
commit
2824224710
24 files changed
+68
-86
No files matched your search
@@ -97,12 +97,6 @@ void SceneryGroupObject::DrawPreview(rct_drawpixelinfo * dpi) const
|
||||
gfx_draw_sprite(dpi, imageId, x - 15, y - 14, 0);
|
||||
}
|
||||
|
||||
const utf8 * SceneryGroupObject::GetName() const
|
||||
{
|
||||
const utf8 * name = GetStringTable()->GetString(OBJ_STRING_ID_NAME);
|
||||
return name != nullptr ? name : "";
|
||||
}
|
||||
|
||||
void SceneryGroupObject::SetRepositoryItem(ObjectRepositoryItem * item) const
|
||||
{
|
||||
Memory::Free(item->ThemeObjects);
|
||||
|
||||
Reference in new issue
Block a user