diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-06-01 22:10:11 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-06-01 22:10:11 +0200 |
commit | 5d90e4b2f095079221de35e0e172cbc52f4a9a4c (patch) | |
tree | f3d3c6898c2bdb78a1019706f7aa3fa09a506f70 | |
parent | c00f7a8d222dae3f9a3989fefdd875ca2ef19c04 (diff) |
Fix collision with peds heads
-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 6b3b8686..cfdbb6bc 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -6187,6 +6187,9 @@ CPed::Die(void) uint8 CPed::DoesLOSBulletHitPed(CColPoint &colPoint) { +#ifdef FIX_BUGS + return 1; +#else uint8 retVal = 2; float headZ = GetNodePosition(PED_HEAD).z; @@ -6202,6 +6205,7 @@ CPed::DoesLOSBulletHitPed(CColPoint &colPoint) retVal = 0; return retVal; +#endif } bool |