diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-08-29 18:22:25 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-08-30 11:40:30 +0200 |
commit | 3e549a7d4484340d8d71500a7e61f81f403f48cc (patch) | |
tree | 3506aaab712cf59e5a0e687090ac7ebedd866c6b /src/audio | |
parent | update librw (diff) | |
download | re3-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')
-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 ) |