summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:02:47 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-30 01:18:46 +0200
commit855c6a3c056f93cdd05daf39beacabd49ea9a97b (patch)
tree48872d997b4fd90c24be46a712729d0c7bfe118b /src
parentMake frequency more consistent with vanilla (diff)
downloadre3-855c6a3c056f93cdd05daf39beacabd49ea9a97b.tar
re3-855c6a3c056f93cdd05daf39beacabd49ea9a97b.tar.gz
re3-855c6a3c056f93cdd05daf39beacabd49ea9a97b.tar.bz2
re3-855c6a3c056f93cdd05daf39beacabd49ea9a97b.tar.lz
re3-855c6a3c056f93cdd05daf39beacabd49ea9a97b.tar.xz
re3-855c6a3c056f93cdd05daf39beacabd49ea9a97b.tar.zst
re3-855c6a3c056f93cdd05daf39beacabd49ea9a97b.zip
Diffstat (limited to '')
-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 61bf5a86..f230731b 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -811,7 +811,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));