mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
ZoneCommon: Add GameLanguagePrefix class and save known prefixes for languages in the game object
This commit is contained in:
@ -61,6 +61,12 @@ void ObjLoaderT6::LoadIPakForZone(ISearchPath* searchPath, const std::string& ip
|
||||
{
|
||||
LoadIPakForZone(searchPath, "mp", zone);
|
||||
LoadIPakForZone(searchPath, "so", zone);
|
||||
|
||||
auto languagePrefixes = g_GameT6.GetLanguagePrefixes();
|
||||
for(const auto& languagePrefix : languagePrefixes)
|
||||
{
|
||||
LoadIPakForZone(searchPath, languagePrefix.m_prefix + "base", zone);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user