mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-27 22:55:40 +00:00
Fix heli sound
This commit is contained in:
parent
669c8c8988
commit
abe6c22f56
1 changed files with 2 additions and 3 deletions
|
@ -1288,13 +1288,12 @@ cAudioManager::ProcessCarHeli(cVehicleParams& params)
|
|||
if (hunterBool) {
|
||||
m_sQueueSample.m_nSampleIndex = SFX_HELI_APACHE_4;
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
freq = 3000 * propellerSpeed + 30000;
|
||||
m_sQueueSample.m_nFrequency = 3000 * propellerSpeed + 30000;
|
||||
} else {
|
||||
m_sQueueSample.m_nSampleIndex = SFX_CAR_HELI_STA;
|
||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
freq = 3000 * propellerSpeed + 6000;
|
||||
m_sQueueSample.m_nFrequency = 3000 * propellerSpeed + 6000;
|
||||
}
|
||||
m_sQueueSample.m_nFrequency = freq;
|
||||
m_sQueueSample.m_nCounter = 12;
|
||||
m_sQueueSample.m_bIs2D = FALSE;
|
||||
m_sQueueSample.m_nPriority = 1;
|
||||
|
|
Loading…
Reference in a new issue