Merge pull request #352 from diamante0018/zones-assets
[AssetHandler] Fix gfxworld issue with zones 316 or higher
This commit is contained in:
commit
fe04f89e2a
@ -269,6 +269,13 @@ namespace Components
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (type == Game::XAssetType::ASSET_TYPE_GFXWORLD && Zones::Version() >= 316)
|
||||||
|
{
|
||||||
|
asset.gfxWorld->sortKeyEffectDecal = 39;
|
||||||
|
asset.gfxWorld->sortKeyEffectAuto = 48;
|
||||||
|
asset.gfxWorld->sortKeyDistortion = 43;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AssetHandler::IsAssetEligible(Game::XAssetType type, Game::XAssetHeader *asset)
|
bool AssetHandler::IsAssetEligible(Game::XAssetType type, Game::XAssetHeader *asset)
|
||||||
|
Loading…
Reference in New Issue
Block a user