summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:02:47 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:02:47 +0200
commit8424eabf2240541782fa6c9b358cdef022477778 (patch)
treee0818bbb9236f33b3f473e667b597fd4b03f4fc1 /src
parentMake frequency more consistent with vanilla (diff)
downloadre3-8424eabf2240541782fa6c9b358cdef022477778.tar
re3-8424eabf2240541782fa6c9b358cdef022477778.tar.gz
re3-8424eabf2240541782fa6c9b358cdef022477778.tar.bz2
re3-8424eabf2240541782fa6c9b358cdef022477778.tar.lz
re3-8424eabf2240541782fa6c9b358cdef022477778.tar.xz
re3-8424eabf2240541782fa6c9b358cdef022477778.tar.zst
re3-8424eabf2240541782fa6c9b358cdef022477778.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/AudioManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 994cab35..a42aa16f 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -794,7 +794,7 @@ cAudioManager::ProcessActiveQueues()
if (sample.m_nFrequency != m_asActiveSamples[j].m_nFrequency) {
int32 freq;
if (sample.m_nFrequency <= m_asActiveSamples[j].m_nFrequency) {
-#if FIX_BUGS
+#ifdef FIX_BUGS
freq = Max((int32)sample.m_nFrequency, (int32)m_asActiveSamples[j].m_nFrequency - 6000);
#else
freq = Max((int32)sample.m_nFrequency, int32(m_asActiveSamples[j].m_nFrequency - 6000));