[ZoneBuilder] Find renamed assets

This commit is contained in:
momo5502 2017-03-25 13:42:32 +01:00
parent 576b07891e
commit 67717b589a

View File

@ -246,6 +246,11 @@ namespace Components
const char* assetName = Game::DB_GetXAssetName(asset); const char* assetName = Game::DB_GetXAssetName(asset);
if (assetName[0] == ',') ++assetName; if (assetName[0] == ',') ++assetName;
if(this->getAssetName(type, assetName) == name)
{
return i;
}
if (name == assetName) if (name == assetName)
{ {
return i; return i;