fixup! First attempt at AssaultWeapon animations!

This commit is contained in:
2016-03-04 03:07:36 +01:00
parent 609f6619a6
commit dbafab2cef
@@ -103,7 +103,7 @@ void AssaultWeaponBehaviour::OnReload(ComponentWrapper cWeapon, WeaponInfo& wi)
// Play animation
EntityWrapper modelEntity = wi.FirstPersonEntity.Parent().Parent();
if (modelEntity.Valid()) {
EntityWrapper blendTree = modelEntity.FirstChildByName("PrimaryBlendTree");
EntityWrapper blendTree = modelEntity.FirstChildByName("AssaultWeaponBlendTree");
EntityWrapper reloadBlend = blendTree.FirstChildByName("Reload");
Events::AutoAnimationBlend eFireBlend;