diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-06 07:42:58 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-06 07:42:58 +0200 |
commit | afa4fa65102360a157b500e2771c1c350fd6e1e0 (patch) | |
tree | bcf6a3b841c22a7c46b4a6bcb61cc079887905bb /src/peds | |
parent | Merge pull request #617 from majesticCoding/miami (diff) | |
parent | ps2 audio banks (diff) | |
download | re3-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 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 5 |
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 |