mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 11:14:07 +00:00
Ped: WeaponInfo: little fixes and renamings
This commit is contained in:
parent
2dbe3d5b83
commit
d3f2f4f6ac
3 changed files with 8 additions and 9 deletions
|
@ -630,7 +630,7 @@ CPed::SetMoveAnim(void)
|
|||
if (!animAssoc) {
|
||||
animAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_FIGHT_IDLE);
|
||||
if (!animAssoc)
|
||||
animAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_WEAPON_CROUCHRELOAD);
|
||||
animAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_MELEE_IDLE_FIGHTMODE);
|
||||
|
||||
if (animAssoc && m_nPedState == PED_FIGHT)
|
||||
return;
|
||||
|
@ -1467,7 +1467,7 @@ CPed::CalculateNewVelocity(void)
|
|||
fightAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_IDLE_TIRED);
|
||||
|
||||
if(!fightAssoc)
|
||||
fightAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_WEAPON_CROUCHRELOAD);
|
||||
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