diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-10 11:26:32 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-10 11:26:32 +0200 |
commit | a827f0dd559331d756f57ddf63e535d100503ab2 (patch) | |
tree | 30e72a7fb5ab5fe27bf9b0f810486854c0814991 /src/peds | |
parent | more car control (diff) | |
parent | CClumpModelInfo; little fixes (diff) | |
download | re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.gz re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.bz2 re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.lz re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.xz re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.zst re3-a827f0dd559331d756f57ddf63e535d100503ab2.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index fd4f9f58..f538f0a4 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -3856,7 +3856,7 @@ CPed::InflictDamage(CEntity *damagedBy, eWeaponType method, float damage, ePedPi if (IsPedHeadAbovePos(-0.3f)) { dieAnim = NUM_ANIMS; } else { - if (RpAnimBlendClumpGetFirstAssociation(GetClump(), ASSOC_FLAG800)) + if (RpAnimBlendClumpGetFirstAssociation(GetClump(), ASSOC_FRONTAL)) dieAnim = ANIM_FLOOR_HIT_F; else dieAnim = ANIM_FLOOR_HIT; |