[IXModel] Don't load physpreset for ak74u
This commit is contained in:
parent
a24e68a83b
commit
4a4e938b00
@ -202,8 +202,16 @@ namespace Assets
|
|||||||
asset->physPreset->sndAliasPrefix = reader.readCString();
|
asset->physPreset->sndAliasPrefix = reader.readCString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is an experiment, ak74 fails though
|
||||||
|
if (asset->name == "weapon_ak74u"s)
|
||||||
|
{
|
||||||
|
asset->physPreset = nullptr;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
Components::AssetHandler::StoreTemporaryAsset(Game::XAssetType::ASSET_TYPE_PHYSPRESET, { asset->physPreset });
|
Components::AssetHandler::StoreTemporaryAsset(Game::XAssetType::ASSET_TYPE_PHYSPRESET, { asset->physPreset });
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (asset->physCollmap)
|
if (asset->physCollmap)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user