Fixed some issues with asset name generation in MP3/DKCR and fixed a memory leak in the character editor

This commit is contained in:
Aruki
2017-07-08 13:38:03 -06:00
parent 21efd3999f
commit cbdebd2f7e
10 changed files with 20917 additions and 20892 deletions

View File

@@ -58,7 +58,8 @@ bool CAssetNameMap::GetNameInfo(CAssetID ID, TString& rOutDirectory, TString& rO
else
{
rOutDirectory = "Uncategorized/";
EGame Game = (ID.Length() == e32Bit ? ePrime : eCorruption);
rOutDirectory = CResourceStore::StaticDefaultResourceDirPath(Game);
rOutName = ID.ToString();
rOutAutoGenDir = true;
rOutAutoGenName = true;