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 /src/peds | |
parent | CTimer fix (diff) | |
download | re3-5d90e4b2f095079221de35e0e172cbc52f4a9a4c.tar re3-5d90e4b2f095079221de35e0e172cbc52f4a9a4c.tar.gz re3-5d90e4b2f095079221de35e0e172cbc52f4a9a4c.tar.bz2 re3-5d90e4b2f095079221de35e0e172cbc52f4a9a4c.tar.lz re3-5d90e4b2f095079221de35e0e172cbc52f4a9a4c.tar.xz re3-5d90e4b2f095079221de35e0e172cbc52f4a9a4c.tar.zst re3-5d90e4b2f095079221de35e0e172cbc52f4a9a4c.zip |
Diffstat (limited to 'src/peds')
-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 |