diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 11:30:14 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 11:30:14 +0200 |
commit | 375c7df00f4b95ca52906cf337fad0eefd18d0da (patch) | |
tree | 817249f1c2a2d1b0fe17c5e63cd9ef2aa9d0e483 /src/audio | |
parent | update lib (diff) | |
parent | Fixes from miami (diff) | |
download | re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.gz re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.bz2 re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.lz re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.xz re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.tar.zst re3-375c7df00f4b95ca52906cf337fad0eefd18d0da.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/sampman_oal.cpp | 2 |
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 ) |