mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 09:39:01 +00:00
Fix collision with peds heads
This commit is contained in:
parent
c00f7a8d22
commit
5d90e4b2f0
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue