mirror of
				https://github.com/halpz/re3.git
				synced 2025-11-04 12:27:01 +00:00 
			
		
		
		
	merge upstream
This commit is contained in:
		@@ -792,7 +792,7 @@ CBike::ProcessControl(void)
 | 
			
		||||
					   CSurfaceTable::GetAdhesionGroup(m_aWheelColPoints[rearLine].surfaceB) == ADHESIVE_SAND)
 | 
			
		||||
						steer *= pBikeHandling->fSlipSteer;
 | 
			
		||||
					f = Asin(Min(steer/SQR(fwdSpeed), 1.0))/DEGTORAD(pHandling->fSteeringLock);
 | 
			
		||||
					if(m_fSteerAngle < 0.0f && m_fLeanLRAngle < 0.0f &&
 | 
			
		||||
					if(m_fSteerAngle < 0.0f && m_fLeanLRAngle < 0.0f ||
 | 
			
		||||
					   m_fSteerAngle > 0.0f && m_fLeanLRAngle > 0.0f)
 | 
			
		||||
						f *= 2.0f;
 | 
			
		||||
					f = Min(f, 1.0f);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
#include "common.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
 | 
			
		||||
#include "General.h"
 | 
			
		||||
#include "Timecycle.h"
 | 
			
		||||
@@ -145,7 +145,7 @@ CBoat::ProcessControl(void)
 | 
			
		||||
		    AutoPilot.m_nCarMission == MISSION_BLOCKPLAYER_CLOSE || 
 | 
			
		||||
		    AutoPilot.m_nCarMission == MISSION_ATTACKPLAYER) &&
 | 
			
		||||
		   CTimer::GetTimeInMilliseconds() > m_nPoliceShoutTimer){
 | 
			
		||||
			DMAudio.PlayOneShot(m_audioEntityId, SOUND_115, 0.0f);
 | 
			
		||||
			DMAudio.PlayOneShot(m_audioEntityId, SOUND_PED_VCPA_PLAYER_FOUND, 0.0f);
 | 
			
		||||
			m_nPoliceShoutTimer = CTimer::GetTimeInMilliseconds() + 4500 + (CGeneral::GetRandomNumber()&0xFFF);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user