summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-10 10:04:27 +0200
committeraap <aap@papnet.eu>2020-05-10 10:04:27 +0200
commitf0442960a22a7386f29c138f6afb1c08101789ee (patch)
tree979d9e240b2304a5a73193ed66e06c7b0a76c741 /src/peds
parentCWeaponModelInfo (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-f0442960a22a7386f29c138f6afb1c08101789ee.tar
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.gz
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.bz2
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.lz
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.xz
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.zst
re3-f0442960a22a7386f29c138f6afb1c08101789ee.zip
Diffstat (limited to 'src/peds')
-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 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;