summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-31 22:16:24 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-31 22:16:24 +0200
commit0631bd9d890ee08dffdfea5f831e2f3a748be5c6 (patch)
tree5f09d5f4358b1518262068d65ac713993b2cf437
parentfix (diff)
downloadre3-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
-rw-r--r--src/audio/sampman_oal.cpp2
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);
}