summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-06-01 22:10:11 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-06-01 22:10:11 +0200
commit5d90e4b2f095079221de35e0e172cbc52f4a9a4c (patch)
treef3d3c6898c2bdb78a1019706f7aa3fa09a506f70 /src/peds
parentCTimer fix (diff)
downloadre3-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.cpp4
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