mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 13:34:07 +00:00
Use our synonyms for attack anims again
This commit is contained in:
parent
97351ad2c2
commit
2cad49940e
6 changed files with 72 additions and 56 deletions
|
@ -617,7 +617,7 @@ CPed::SetMoveAnim(void)
|
|||
if (!animAssoc) {
|
||||
animAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_STD_FIGHT_IDLE);
|
||||
if (!animAssoc)
|
||||
animAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_ATTACK_EXTRA2);
|
||||
animAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_MELEE_IDLE_FIGHTMODE);
|
||||
|
||||
if (animAssoc && m_nPedState == PED_FIGHT)
|
||||
return;
|
||||
|
@ -1433,7 +1433,7 @@ CPed::CalculateNewVelocity(void)
|
|||
fightAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_STD_IDLE_TIRED);
|
||||
|
||||
if(!fightAssoc)
|
||||
fightAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_ATTACK_EXTRA2);
|
||||
fightAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_MELEE_IDLE_FIGHTMODE);
|
||||
|
||||
if ((!idleAssoc || idleAssoc->blendAmount < 0.5f) && !fightAssoc && !bIsDucking) {
|
||||
LimbOrientation newUpperLegs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue