mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
Fix weapon asset loader not linking weaponfulldef attachment uniques to weaponvariantdef
This commit is contained in:
parent
593493d5fc
commit
cb3e4386a9
@ -328,6 +328,7 @@ void AssetLoaderWeapon::LinkWeaponFullDefSubStructs(WeaponFullDef* weapon)
|
|||||||
{
|
{
|
||||||
weapon->weapVariantDef.weapDef = &weapon->weapDef;
|
weapon->weapVariantDef.weapDef = &weapon->weapDef;
|
||||||
weapon->weapVariantDef.attachments = weapon->attachments;
|
weapon->weapVariantDef.attachments = weapon->attachments;
|
||||||
|
weapon->weapVariantDef.attachmentUniques = weapon->attachmentUniques;
|
||||||
weapon->weapDef.gunXModel = weapon->gunXModel;
|
weapon->weapDef.gunXModel = weapon->gunXModel;
|
||||||
weapon->weapVariantDef.szXAnims = weapon->szXAnims;
|
weapon->weapVariantDef.szXAnims = weapon->szXAnims;
|
||||||
weapon->weapVariantDef.hideTags = weapon->hideTags;
|
weapon->weapVariantDef.hideTags = weapon->hideTags;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user