1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

fix highlight object in object selection

This commit is contained in:
Ted John
2016-06-30 21:55:18 +01:00
parent 554d445db4
commit f6d6d93580
28 changed files with 121 additions and 124 deletions

View File

@@ -56,7 +56,7 @@ void FootpathObject::Unload()
gfx_object_free_images(_legacyType.image, GetImageTable()->GetCount());
}
const utf8 * FootpathObject::GetName()
const utf8 * FootpathObject::GetName() const
{
const utf8 * name = GetStringTable()->GetString(OBJ_STRING_ID_NAME);
return name != nullptr ? name : "";