summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-17 10:50:53 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-17 10:50:53 +0300
commit2526503743e71af6a93b033cf23d8d50e2abf926 (patch)
tree6ed5da728123666c5d9022a9768f3d7b75781fa9 /src
parente0ecbeee39e605cf2ee06e3632f4931d03606ce7 (diff)
Remove FIX_BUGS that wasn't needed
Diffstat (limited to 'src')
-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;