mirror of
https://github.com/halpz/re3.git
synced 2025-12-28 18:22:52 +00:00
Ped: WeaponInfo: little fixes and renamings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user