summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-17 09:50:53 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-17 09:50:53 +0200
commit2526503743e71af6a93b033cf23d8d50e2abf926 (patch)
tree6ed5da728123666c5d9022a9768f3d7b75781fa9 /src
parentAuto-detect X11 dependency (diff)
downloadre3-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 '')
-rw-r--r--src/audio/AudioLogic.cpp4
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;