summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-02-07 19:13:54 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-07 19:13:54 +0100
commit2cad49940e96b53adac413f66dcbc690774dba44 (patch)
treeae0db84a67c5612f6842edfecd8eea4060352b0d /src/peds/Ped.cpp
parentUse original animation names from VCS (diff)
downloadre3-2cad49940e96b53adac413f66dcbc690774dba44.tar
re3-2cad49940e96b53adac413f66dcbc690774dba44.tar.gz
re3-2cad49940e96b53adac413f66dcbc690774dba44.tar.bz2
re3-2cad49940e96b53adac413f66dcbc690774dba44.tar.lz
re3-2cad49940e96b53adac413f66dcbc690774dba44.tar.xz
re3-2cad49940e96b53adac413f66dcbc690774dba44.tar.zst
re3-2cad49940e96b53adac413f66dcbc690774dba44.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index de474f38..1484d578 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -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;