mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 00:40:00 +00:00
Fix build (if -> ifdef)
This commit is contained in:
parent
a0b6410801
commit
8424eabf22
|
@ -794,7 +794,7 @@ cAudioManager::ProcessActiveQueues()
|
||||||
if (sample.m_nFrequency != m_asActiveSamples[j].m_nFrequency) {
|
if (sample.m_nFrequency != m_asActiveSamples[j].m_nFrequency) {
|
||||||
int32 freq;
|
int32 freq;
|
||||||
if (sample.m_nFrequency <= m_asActiveSamples[j].m_nFrequency) {
|
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);
|
freq = Max((int32)sample.m_nFrequency, (int32)m_asActiveSamples[j].m_nFrequency - 6000);
|
||||||
#else
|
#else
|
||||||
freq = Max((int32)sample.m_nFrequency, int32(m_asActiveSamples[j].m_nFrequency - 6000));
|
freq = Max((int32)sample.m_nFrequency, int32(m_asActiveSamples[j].m_nFrequency - 6000));
|
||||||
|
|
Loading…
Reference in a new issue