mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 17:35:43 +00:00
Fixed issues in MP3 package list building
This commit is contained in:
@@ -143,6 +143,24 @@ CAssetID CGameProject::FindNamedResource(const TString& rkName) const
|
||||
return CAssetID::InvalidID(mGame);
|
||||
}
|
||||
|
||||
CPackage* CGameProject::FindPackage(const TString& rkName) const
|
||||
{
|
||||
if (mGame == eCorruptionProto || mGame == eCorruption)
|
||||
{
|
||||
for (u32 iPkg = 0; iPkg < mPackages.size(); iPkg++)
|
||||
{
|
||||
CPackage *pPackage = mPackages[iPkg];
|
||||
|
||||
if (pPackage->Name() == rkName)
|
||||
{
|
||||
return pPackage;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
CGameProject* CGameProject::CreateProjectForExport(
|
||||
const TString& rkProjRootDir,
|
||||
EGame Game,
|
||||
|
||||
Reference in New Issue
Block a user