[Materials] only apply sort key fix when loading iw4c fast files
This commit is contained in:
parent
8b51792e61
commit
d7c6786781
@ -148,7 +148,7 @@ namespace Components
|
||||
|
||||
void AssetHandler::ModifyAsset(Game::XAssetType type, Game::XAssetHeader asset, std::string name)
|
||||
{
|
||||
if (type == Game::XAssetType::ASSET_TYPE_MATERIAL && (name == "gfx_distortion_knife_trail" || name == "gfx_distortion_heat_far" || name == "gfx_distortion_ring_light") && asset.material->sortKey == 43)
|
||||
if (type == Game::XAssetType::ASSET_TYPE_MATERIAL && (name == "gfx_distortion_knife_trail" || name == "gfx_distortion_heat_far" || name == "gfx_distortion_ring_light" || name == "gfx_distortion_heat") && Zones::Version() >= VERSION_ALPHA2 && asset.material->sortKey == 43)
|
||||
{
|
||||
asset.material->sortKey = 44;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user