summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-22 11:38:09 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-22 11:38:09 +0200
commitee61f19253e57203695926af6253e69cd7e8d554 (patch)
tree7ece38b0304f774975e2abf78ac9f479342f39ad /src/audio/AudioManager.cpp
parentEmergencyPed, PedDebug, message fix (diff)
downloadre3-ee61f19253e57203695926af6253e69cd7e8d554.tar
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.gz
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.bz2
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.lz
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.xz
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.zst
re3-ee61f19253e57203695926af6253e69cd7e8d554.zip
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r--src/audio/AudioManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index d36316eb..4b7039c6 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -437,7 +437,6 @@ cAudioManager::IsAudioInitialised() const
void
cAudioManager::ServiceSoundEffects()
{
- field_5554++;
m_bFifthFrameFlag = (m_FrameCounter++ % 5) == 0;
if (m_nUserPause && !m_nPreviousUserPause) {
for (int32 i = 0; i < allChannels; i++)
@@ -838,7 +837,7 @@ cAudioManager::ProcessActiveQueues()
sample.m_nSampleIndex == m_asActiveSamples[j].m_nSampleIndex) {
if (sample.m_nLoopCount) {
- if (field_5554 & 1) {
+ if (m_FrameCounter & 1) {
if (!(j & 1)) {
flag = false;
} else {