mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 19:14:15 +01:00
Fix collision with peds heads
This commit is contained in:
parent
c00f7a8d22
commit
5d90e4b2f0
@ -6187,6 +6187,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;
|
||||||
@ -6202,6 +6205,7 @@ CPed::DoesLOSBulletHitPed(CColPoint &colPoint)
|
|||||||
retVal = 0;
|
retVal = 0;
|
||||||
|
|
||||||
return retVal;
|
return retVal;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user