mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-15 08:11:26 +00:00
ZoneCommon: Add GameLanguagePrefix class and save known prefixes for languages in the game object
This commit is contained in:
1 parent
f73c27a7dc
commit
9f8022c2ca
10 files changed
+108
-111
No files matched your search
@@ -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