fixup! First attempt at AssaultWeapon animations!
This commit is contained in:
@@ -203,7 +203,7 @@ void AssaultWeaponBehaviour::fireBullet(ComponentWrapper cWeapon, WeaponInfo& wi
|
|||||||
// Play animation
|
// Play animation
|
||||||
EntityWrapper modelEntity = wi.FirstPersonEntity.Parent().Parent();
|
EntityWrapper modelEntity = wi.FirstPersonEntity.Parent().Parent();
|
||||||
if (modelEntity.Valid()) {
|
if (modelEntity.Valid()) {
|
||||||
EntityWrapper blendTree = modelEntity.FirstChildByName("PrimaryBlendTree");
|
EntityWrapper blendTree = modelEntity.FirstChildByName("BlendTreeAssaultWeapon");
|
||||||
EntityWrapper fireBlend = blendTree.FirstChildByName("Fire");
|
EntityWrapper fireBlend = blendTree.FirstChildByName("Fire");
|
||||||
|
|
||||||
Events::AutoAnimationBlend eFireBlend;
|
Events::AutoAnimationBlend eFireBlend;
|
||||||
|
|||||||
Reference in New Issue
Block a user