mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
fix highlight object in object selection
This commit is contained in:
@@ -89,7 +89,7 @@ void SmallSceneryObject::Unload()
|
||||
gfx_object_free_images(_legacyType.image, GetImageTable()->GetCount());
|
||||
}
|
||||
|
||||
const utf8 * SmallSceneryObject::GetName()
|
||||
const utf8 * SmallSceneryObject::GetName() const
|
||||
{
|
||||
const utf8 * name = GetStringTable()->GetString(OBJ_STRING_ID_NAME);
|
||||
return name != nullptr ? name : "";
|
||||
|
||||
Reference in New Issue
Block a user