mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Return image and string table by reference
This commit is contained in:
@@ -71,7 +71,7 @@ std::string Object::GetString(uint8 index) const
|
||||
auto sz = GetOverrideString(index);
|
||||
if (sz.empty())
|
||||
{
|
||||
sz = GetStringTable()->GetString(index);
|
||||
sz = GetStringTable().GetString(index);
|
||||
}
|
||||
return sz;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user