diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-17 09:50:53 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-17 09:50:53 +0200 |
commit | 2526503743e71af6a93b033cf23d8d50e2abf926 (patch) | |
tree | 6ed5da728123666c5d9022a9768f3d7b75781fa9 /src | |
parent | Auto-detect X11 dependency (diff) | |
download | re3-2526503743e71af6a93b033cf23d8d50e2abf926.tar re3-2526503743e71af6a93b033cf23d8d50e2abf926.tar.gz re3-2526503743e71af6a93b033cf23d8d50e2abf926.tar.bz2 re3-2526503743e71af6a93b033cf23d8d50e2abf926.tar.lz re3-2526503743e71af6a93b033cf23d8d50e2abf926.tar.xz re3-2526503743e71af6a93b033cf23d8d50e2abf926.tar.zst re3-2526503743e71af6a93b033cf23d8d50e2abf926.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/AudioLogic.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp index d3f38345..3ce3c3cf 100644 --- a/src/audio/AudioLogic.cpp +++ b/src/audio/AudioLogic.cpp @@ -883,11 +883,7 @@ cAudioManager::ProcessWetRoadNoise(cVehicleParams& params) m_sQueueSample.m_nBankIndex = SFX_BANK_0; m_sQueueSample.m_bIs2D = FALSE; m_sQueueSample.m_nReleasingVolumeModificator = 3; -#ifdef FIX_BUGS multiplier = (m_sQueueSample.m_fDistance / SOUND_INTENSITY) * 0.5f; -#else - multiplier = (m_sQueueSample.m_fDistance / 3.0f) * 0.5f; -#endif freq = SampleManager.GetSampleBaseFrequency(SFX_ROAD_NOISE); m_sQueueSample.m_nFrequency = freq + freq * multiplier; m_sQueueSample.m_nLoopCount = 0; |