mirror of
				https://github.com/halpz/re3.git
				synced 2025-11-04 02:15:09 +00:00 
			
		
		
		
	Merge pull request #619 from ShFil119/heads
Fix collision with peds heads
This commit is contained in:
		
						commit
						98de658c8f
					
				| 
						 | 
				
			
			@ -5866,6 +5866,9 @@ CPed::Die(void)
 | 
			
		|||
uint8
 | 
			
		||||
CPed::DoesLOSBulletHitPed(CColPoint &colPoint)
 | 
			
		||||
{
 | 
			
		||||
#ifdef FIX_BUGS
 | 
			
		||||
	return 1;
 | 
			
		||||
#else
 | 
			
		||||
	uint8 retVal = 2;
 | 
			
		||||
 | 
			
		||||
	float headZ = GetNodePosition(PED_HEAD).z;
 | 
			
		||||
| 
						 | 
				
			
			@ -5881,6 +5884,7 @@ CPed::DoesLOSBulletHitPed(CColPoint &colPoint)
 | 
			
		|||
		retVal = 0;
 | 
			
		||||
 | 
			
		||||
	return retVal;
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue