Fix collision with peds heads

This commit is contained in:
Filip Gawin 2020-06-01 22:10:11 +02:00
parent c00f7a8d22
commit 5d90e4b2f0
1 changed files with 4 additions and 0 deletions

View File

@ -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