diff options
author | aap <aap@papnet.eu> | 2020-06-05 13:43:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 13:43:07 +0200 |
commit | 98de658c8fdb7aa61bfe6fa8235c844ce801c47d (patch) | |
tree | 67925f365624af596c4fafdf83cee39489c17c21 /src | |
parent | ProcessTrainAnnouncements (diff) | |
parent | Fix collision with peds heads (diff) | |
download | re3-98de658c8fdb7aa61bfe6fa8235c844ce801c47d.tar re3-98de658c8fdb7aa61bfe6fa8235c844ce801c47d.tar.gz re3-98de658c8fdb7aa61bfe6fa8235c844ce801c47d.tar.bz2 re3-98de658c8fdb7aa61bfe6fa8235c844ce801c47d.tar.lz re3-98de658c8fdb7aa61bfe6fa8235c844ce801c47d.tar.xz re3-98de658c8fdb7aa61bfe6fa8235c844ce801c47d.tar.zst re3-98de658c8fdb7aa61bfe6fa8235c844ce801c47d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index a2068645..eebfa099 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -5866,6 +5866,9 @@ CPed::Die(void) uint8 CPed::DoesLOSBulletHitPed(CColPoint &colPoint) { +#ifdef FIX_BUGS + return 1; +#else uint8 retVal = 2; float headZ = GetNodePosition(PED_HEAD).z; @@ -5881,6 +5884,7 @@ CPed::DoesLOSBulletHitPed(CColPoint &colPoint) retVal = 0; return retVal; +#endif } bool |