diff options
author | aap <aap@papnet.eu> | 2019-06-27 09:46:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-27 09:46:41 +0200 |
commit | 62b6788dc544a20b8dc5c5175c23fcac6736af65 (patch) | |
tree | c30f3c1a937c39393fc9471902f7dbe83a17a4c2 /src/entities | |
parent | Merge pull request #57 from gennariarmando/master (diff) | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
download | re3-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')
-rw-r--r-- | src/entities/Ped.cpp | 2 |
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; |