summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-26 03:42:15 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-26 03:42:15 +0200
commit6a94299eac3357ca4d1d13648df625b4a9d286fb (patch)
tree1fbe49d7cea2ef35bbdad524b833e6ba2e6ed6bf /src
parentAudio changes: (diff)
downloadre3-6a94299eac3357ca4d1d13648df625b4a9d286fb.tar
re3-6a94299eac3357ca4d1d13648df625b4a9d286fb.tar.gz
re3-6a94299eac3357ca4d1d13648df625b4a9d286fb.tar.bz2
re3-6a94299eac3357ca4d1d13648df625b4a9d286fb.tar.lz
re3-6a94299eac3357ca4d1d13648df625b4a9d286fb.tar.xz
re3-6a94299eac3357ca4d1d13648df625b4a9d286fb.tar.zst
re3-6a94299eac3357ca4d1d13648df625b4a9d286fb.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/sampman_oal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index 74b352a1..17776347 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -1360,7 +1360,7 @@ bool8 cSampleManager::UpdateReverb(void)
if ( !usingEAX && !_usingEFX )
return FALSE;
- if ( AudioManager.GetFrameCounter() & 15 )
+ if ( AudioManager.m_FrameCounter & 15 )
return FALSE;
float y = AudioManager.m_afReflectionsDistances[REFLECTION_TOP] + AudioManager.m_afReflectionsDistances[REFLECTION_BOTTOM];