fixup! First attempt at AssaultWeapon animations!
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user