summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-09-10 02:14:50 +0200
committereray orçunus <erayorcunus@gmail.com>2020-09-10 02:14:50 +0200
commit93d77f340df1305fd8a802034b878f69f2cb1285 (patch)
treec2076cbd9f9999d8517afbce807004507d9f1052 /src/audio/sampman_oal.cpp
parentMerge branch 'master' of https://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-93d77f340df1305fd8a802034b878f69f2cb1285.tar
re3-93d77f340df1305fd8a802034b878f69f2cb1285.tar.gz
re3-93d77f340df1305fd8a802034b878f69f2cb1285.tar.bz2
re3-93d77f340df1305fd8a802034b878f69f2cb1285.tar.lz
re3-93d77f340df1305fd8a802034b878f69f2cb1285.tar.xz
re3-93d77f340df1305fd8a802034b878f69f2cb1285.tar.zst
re3-93d77f340df1305fd8a802034b878f69f2cb1285.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 5e4b5aba..a8056c03 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 )