summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-09 14:41:00 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-09 14:41:00 +0200
commit1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf (patch)
tree9bc59eae9d1a0c17b6432dafab953d52edf03864
parentMerge pull request #527 from erorcun/erorcun (diff)
downloadre3-1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf.tar
re3-1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf.tar.gz
re3-1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf.tar.bz2
re3-1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf.tar.lz
re3-1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf.tar.xz
re3-1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf.tar.zst
re3-1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 646873dc..78f4b586 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -3848,7 +3848,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;