[ZoneBuilder] Find renamed assets
This commit is contained in:
parent
576b07891e
commit
67717b589a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user