diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-31 22:16:24 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-31 22:16:24 +0200 |
commit | 0631bd9d890ee08dffdfea5f831e2f3a748be5c6 (patch) | |
tree | 5f09d5f4358b1518262068d65ac713993b2cf437 /src/audio | |
parent | fix (diff) | |
download | re3-0631bd9d890ee08dffdfea5f831e2f3a748be5c6.tar re3-0631bd9d890ee08dffdfea5f831e2f3a748be5c6.tar.gz re3-0631bd9d890ee08dffdfea5f831e2f3a748be5c6.tar.bz2 re3-0631bd9d890ee08dffdfea5f831e2f3a748be5c6.tar.lz re3-0631bd9d890ee08dffdfea5f831e2f3a748be5c6.tar.xz re3-0631bd9d890ee08dffdfea5f831e2f3a748be5c6.tar.zst re3-0631bd9d890ee08dffdfea5f831e2f3a748be5c6.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 6ca8e840..de55c2ed 100644 --- a/src/audio/sampman_oal.cpp +++ b/src/audio/sampman_oal.cpp @@ -1319,7 +1319,7 @@ cSampleManager::SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, uint8 nEffect { if ( nEffectFlag ) { if ( nStream == 1 ) // TODO(MIAMI): || nStream == 2 when we have second mission channel? - stream->SetVolume(128*nVolume*m_nEffectsVolume >> 14) + stream->SetVolume(128*nVolume*m_nEffectsVolume >> 14); else stream->SetVolume(m_nEffectsFadeVolume*nVolume*m_nEffectsVolume >> 14); } |