diff options
author | erorcun <erayorcunus@gmail.com> | 2020-08-30 22:24:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 22:24:39 +0200 |
commit | b7456c604db963cd7ec065b896d23640d5713167 (patch) | |
tree | 190857b8b0db08b78a17fb5bdfaefa29768834aa /src/audio | |
parent | stupid zone load fix (diff) | |
parent | CGame done, Peds, fixes (diff) | |
download | re3-b7456c604db963cd7ec065b896d23640d5713167.tar re3-b7456c604db963cd7ec065b896d23640d5713167.tar.gz re3-b7456c604db963cd7ec065b896d23640d5713167.tar.bz2 re3-b7456c604db963cd7ec065b896d23640d5713167.tar.lz re3-b7456c604db963cd7ec065b896d23640d5713167.tar.xz re3-b7456c604db963cd7ec065b896d23640d5713167.tar.zst re3-b7456c604db963cd7ec065b896d23640d5713167.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 ) |