use overridden object strings

This commit is contained in:
Ted John committed 2016-07-08 22:58:38 +01:00
1 parent 13e9a76732
commit 2824224710
24 files changed
+68 -86

No files matched your search

-6
View File
@@ -64,9 +64,3 @@ void WaterObject::DrawPreview(rct_drawpixelinfo * dpi) const
int y = dpi->height / 2;
gfx_draw_string_centred(dpi, 3326, x, y, 0, nullptr);
}
const utf8 * WaterObject::GetName() const
{
const utf8 * name = GetStringTable()->GetString(OBJ_STRING_ID_NAME);
return name != nullptr ? name : "";
}