mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 18:35:40 +00:00
Fixed random sound volume
This commit is contained in:
parent
a3e5ccde47
commit
d1700b3257
1 changed files with 1 additions and 1 deletions
|
@ -8141,7 +8141,7 @@ cAudioManager::AdjustSamplesVolume()
|
||||||
for(int i = 0; i < m_bSampleRequestQueuesStatus[m_bActiveSampleQueue]; i++) {
|
for(int i = 0; i < m_bSampleRequestQueuesStatus[m_bActiveSampleQueue]; i++) {
|
||||||
tSound* pSample = &m_asSamples[m_bActiveSampleQueue][m_abSampleQueueIndexTable[m_bActiveSampleQueue][i] + 1];
|
tSound* pSample = &m_asSamples[m_bActiveSampleQueue][m_abSampleQueueIndexTable[m_bActiveSampleQueue][i] + 1];
|
||||||
|
|
||||||
if(!pSample->m_bBankIndex) // all non-speech sounds on PC
|
if(!pSample->m_bIsDistant)
|
||||||
pSample->m_bEmittingVolume = ComputeEmittingVolume(
|
pSample->m_bEmittingVolume = ComputeEmittingVolume(
|
||||||
pSample->m_bEmittingVolume, pSample->m_fSoundIntensity, pSample->m_fDistance);
|
pSample->m_bEmittingVolume, pSample->m_fSoundIntensity, pSample->m_fDistance);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue