mirror of
				https://github.com/halpz/re3.git
				synced 2025-11-04 12:27:01 +00:00 
			
		
		
		
	urgh, merge and changes to RW layer in one commit.
This commit is contained in:
		@@ -1494,7 +1494,7 @@ CAutomobile::ProcessControl(void)
 | 
			
		||||
				blade = Multiply3x3(blade, GetMatrix());
 | 
			
		||||
				camDist /= Max(Sqrt(distSq), 0.01f);
 | 
			
		||||
				if(Abs(DotProduct(camDist, blade)) > 0.95f){
 | 
			
		||||
					DMAudio.PlayOneShot(m_audioEntityId, SOUND_31, 0.0f);
 | 
			
		||||
					DMAudio.PlayOneShot(m_audioEntityId, SOUND_HELI_BLADE, 0.0f);
 | 
			
		||||
					m_fPropellerRotation = m_aWheelRotation[1];
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
#include "common.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
 | 
			
		||||
#include "main.h"
 | 
			
		||||
#include "General.h"
 | 
			
		||||
@@ -146,7 +146,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