diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-22 12:43:38 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:32:43 +0200 |
commit | c9804510d1c29662b33a1fa51b8ccdc6de614f5c (patch) | |
tree | 3c1fc48612de9377257b32289adce527b0ebc179 /src | |
parent | Fix cAudioManager::SetupJumboFlySound (diff) | |
download | re3-c9804510d1c29662b33a1fa51b8ccdc6de614f5c.tar re3-c9804510d1c29662b33a1fa51b8ccdc6de614f5c.tar.gz re3-c9804510d1c29662b33a1fa51b8ccdc6de614f5c.tar.bz2 re3-c9804510d1c29662b33a1fa51b8ccdc6de614f5c.tar.lz re3-c9804510d1c29662b33a1fa51b8ccdc6de614f5c.tar.xz re3-c9804510d1c29662b33a1fa51b8ccdc6de614f5c.tar.zst re3-c9804510d1c29662b33a1fa51b8ccdc6de614f5c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/AudioLogic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp index 75d7d6a3..f63ea4b3 100644 --- a/src/audio/AudioLogic.cpp +++ b/src/audio/AudioLogic.cpp @@ -2931,7 +2931,7 @@ cAudioManager::SetupJumboRumbleSound(uint8 emittingVol) m_sQueueSample.m_nCounter = 6; m_sQueueSample.m_nSampleIndex = SFX_JUMBO_RUMBLE; m_sQueueSample.m_nFrequency += 200; - m_sQueueSample.m_nOffset = MAX_VOLUME; + m_sQueueSample.m_nOffset = 127; AddSampleToRequestedQueue(); } return TRUE; @@ -7980,7 +7980,7 @@ cAudioManager::ProcessFrontEnd() if (stereo) { ++m_sQueueSample.m_nSampleIndex; m_sQueueSample.m_nCounter = iSound++; - m_sQueueSample.m_nOffset = MAX_VOLUME - m_sQueueSample.m_nOffset; + m_sQueueSample.m_nOffset = 127 - m_sQueueSample.m_nOffset; AddSampleToRequestedQueue(); } } |