1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

use overridden object strings

This commit is contained in:
Ted John
2016-07-04 18:53:35 +01:00
parent 13e9a76732
commit 2824224710
24 changed files with 68 additions and 86 deletions

View File

@@ -365,4 +365,13 @@ void language_free_object_string(rct_string_id stringId)
}
}
rct_string_id language_get_object_override_string_id(const char * identifier, uint8 index)
{
if (_languageCurrent == nullptr)
{
return STR_NONE;
}
return _languageCurrent->GetObjectOverrideStringId(identifier, index);
}
}