summaryrefslogtreecommitdiffstats
path: root/src/entities/Ped.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 09:46:41 +0200
committerGitHub <noreply@github.com>2019-06-27 09:46:41 +0200
commit62b6788dc544a20b8dc5c5175c23fcac6736af65 (patch)
treec30f3c1a937c39393fc9471902f7dbe83a17a4c2 /src/entities/Ped.cpp
parentMerge pull request #57 from gennariarmando/master (diff)
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-62b6788dc544a20b8dc5c5175c23fcac6736af65.tar
re3-62b6788dc544a20b8dc5c5175c23fcac6736af65.tar.gz
re3-62b6788dc544a20b8dc5c5175c23fcac6736af65.tar.bz2
re3-62b6788dc544a20b8dc5c5175c23fcac6736af65.tar.lz
re3-62b6788dc544a20b8dc5c5175c23fcac6736af65.tar.xz
re3-62b6788dc544a20b8dc5c5175c23fcac6736af65.tar.zst
re3-62b6788dc544a20b8dc5c5175c23fcac6736af65.zip
Diffstat (limited to 'src/entities/Ped.cpp')
-rw-r--r--src/entities/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Ped.cpp b/src/entities/Ped.cpp
index c4109312..4f5147b9 100644
--- a/src/entities/Ped.cpp
+++ b/src/entities/Ped.cpp
@@ -249,7 +249,7 @@ CheckForPedsOnGroundToAttack(CPlayerPed *player, CPed **pedOnGround)
foundDead = 1;
if (!deadPed)
deadPed = (CPed*)currentPed;
- } else if (currentPed->IsPedHeadAbovePos(-0.6f)) {
+ } else if (!currentPed->IsPedHeadAbovePos(-0.6f)) {
foundOnTheFloor = 1;
if (!pedOnTheFloor)
pedOnTheFloor = (CPed*)currentPed;