mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-17 16:24:07 +00:00
processVehicleOneShots
This commit is contained in:
parent
211ab16ddb
commit
04b841c719
4 changed files with 182 additions and 61 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue