summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-06 07:42:58 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-06 07:42:58 +0200
commitafa4fa65102360a157b500e2771c1c350fd6e1e0 (patch)
treebcf6a3b841c22a7c46b4a6bcb61cc079887905bb /src/peds
parentMerge pull request #617 from majesticCoding/miami (diff)
parentps2 audio banks (diff)
downloadre3-afa4fa65102360a157b500e2771c1c350fd6e1e0.tar
re3-afa4fa65102360a157b500e2771c1c350fd6e1e0.tar.gz
re3-afa4fa65102360a157b500e2771c1c350fd6e1e0.tar.bz2
re3-afa4fa65102360a157b500e2771c1c350fd6e1e0.tar.lz
re3-afa4fa65102360a157b500e2771c1c350fd6e1e0.tar.xz
re3-afa4fa65102360a157b500e2771c1c350fd6e1e0.tar.zst
re3-afa4fa65102360a157b500e2771c1c350fd6e1e0.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index b0c821f8..5147e103 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -5785,6 +5785,7 @@ CPed::SetWaitState(eWaitState state, void *time)
#ifdef FIX_BUGS
animAssoc->SetFinishCallback(RestoreHeadingRateCB, this);
#endif
+
break;
case WAITSTATE_PLAYANIM_COWER:
waitAnim = ANIM_HANDSCOWER;
@@ -6523,6 +6524,9 @@ CPed::Die(void)
uint8
CPed::DoesLOSBulletHitPed(CColPoint &colPoint)
{
+#ifdef FIX_BUGS
+ return 1;
+#else
uint8 retVal = 2;
float headZ = GetNodePosition(PED_HEAD).z;
@@ -6538,6 +6542,7 @@ CPed::DoesLOSBulletHitPed(CColPoint &colPoint)
retVal = 0;
return retVal;
+#endif
}
// --MIAMI: Done