summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-10 00:26:12 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-10 00:26:12 +0200
commit35c41208f5910ccb3d4f3aeed3980434cb4360b3 (patch)
treed49aa0fdb827960dbc3cc4c016267f6244828e61 /src/peds/Ped.cpp
parentMerge pull request #528 from Nick007J/miami (diff)
parentSmall unification (diff)
downloadre3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar
re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.gz
re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.bz2
re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.lz
re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.xz
re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.zst
re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-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;