mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 02:44:08 +00:00
Merge pull request #717 from theR4K/miami
Helicopters not ringing, and other audio stuff
This commit is contained in:
commit
e2314c7852
5 changed files with 675 additions and 156 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue