diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-27 05:30:29 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-06-27 05:30:29 +0200 |
commit | b8862cf59c8cc5979577f3a4592908239ce26a07 (patch) | |
tree | 09e3a33c1f32bf66232aacf8b08b086e236a272b /src/entities/Ped.cpp | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
download | re3-b8862cf59c8cc5979577f3a4592908239ce26a07.tar re3-b8862cf59c8cc5979577f3a4592908239ce26a07.tar.gz re3-b8862cf59c8cc5979577f3a4592908239ce26a07.tar.bz2 re3-b8862cf59c8cc5979577f3a4592908239ce26a07.tar.lz re3-b8862cf59c8cc5979577f3a4592908239ce26a07.tar.xz re3-b8862cf59c8cc5979577f3a4592908239ce26a07.tar.zst re3-b8862cf59c8cc5979577f3a4592908239ce26a07.zip |
Diffstat (limited to 'src/entities/Ped.cpp')
-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; |