mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 07:10:43 +00:00
Merge pull request #717 from theR4K/miami
Helicopters not ringing, and other audio stuff
This commit is contained in:
@ -1489,7 +1489,7 @@ CAutomobile::ProcessControl(void)
|
||||
CMatrix mat;
|
||||
mat.Attach(RwFrameGetMatrix(m_aCarNodes[CAR_BONNET]));
|
||||
CVector blade = mat.GetRight();
|
||||
blade = GetMatrix() * blade;
|
||||
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);
|
||||
|
Reference in New Issue
Block a user