diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-08-30 23:07:38 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-08-30 23:07:38 +0200 |
commit | 4ffca8954fb8b95142de7d32821f4b2dae79a553 (patch) | |
tree | 55f8b82c25d60628ae1361c6c87519f2f4023a1c /src/audio/sampman_oal.cpp | |
parent | script inaccuracy (diff) | |
parent | Merge pull request #697 from erorcun/miami (diff) | |
download | re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.gz re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.bz2 re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.lz re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.xz re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.zst re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.zip |
Diffstat (limited to 'src/audio/sampman_oal.cpp')
-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 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 ) |