summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-08-29 18:22:25 +0200
committereray orçunus <erayorcunus@gmail.com>2020-08-30 11:40:30 +0200
commit3e549a7d4484340d8d71500a7e61f81f403f48cc (patch)
tree3506aaab712cf59e5a0e687090ac7ebedd866c6b /src/audio/sampman_oal.cpp
parentupdate librw (diff)
downloadre3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar
re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.gz
re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.bz2
re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.lz
re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.xz
re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.zst
re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.zip
Diffstat (limited to 'src/audio/sampman_oal.cpp')
-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 ffa4c456..1e9f60fd 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -450,9 +450,9 @@ int8 cSampleManager::GetCurrent3DProviderIndex(void)
int8 cSampleManager::SetCurrent3DProvider(uint8 nProvider)
{
- ASSERT( nProvider < m_nNumberOfProviders );
if (nProvider >= m_nNumberOfProviders)
nProvider = 0;
+ ASSERT( nProvider < m_nNumberOfProviders );
int savedprovider = curprovider;
if ( nProvider < m_nNumberOfProviders )