1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 08:30:00 +00:00

Merge pull request #619 from ShFil119/heads

Fix collision with peds heads
This commit is contained in:
aap 2020-06-05 13:43:07 +02:00 committed by GitHub
commit 98de658c8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5866,6 +5866,9 @@ CPed::Die(void)
uint8 uint8
CPed::DoesLOSBulletHitPed(CColPoint &colPoint) CPed::DoesLOSBulletHitPed(CColPoint &colPoint)
{ {
#ifdef FIX_BUGS
return 1;
#else
uint8 retVal = 2; uint8 retVal = 2;
float headZ = GetNodePosition(PED_HEAD).z; float headZ = GetNodePosition(PED_HEAD).z;
@ -5881,6 +5884,7 @@ CPed::DoesLOSBulletHitPed(CColPoint &colPoint)
retVal = 0; retVal = 0;
return retVal; return retVal;
#endif
} }
bool bool