summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_miles.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-31 20:01:36 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-31 20:01:36 +0200
commitf945dbc0fb86a8db82d99cb524e54c1f0a0b2371 (patch)
tree7531109f27c98f882e9075438e4199d2a1e9ad37 /src/audio/sampman_miles.cpp
parentgame logic (diff)
downloadre3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.gz
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.bz2
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.lz
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.xz
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.tar.zst
re3-f945dbc0fb86a8db82d99cb524e54c1f0a0b2371.zip
Diffstat (limited to 'src/audio/sampman_miles.cpp')
-rw-r--r--src/audio/sampman_miles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp
index 406e8716..5893ea64 100644
--- a/src/audio/sampman_miles.cpp
+++ b/src/audio/sampman_miles.cpp
@@ -2289,7 +2289,7 @@ cSampleManager::SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, uint8 nEffect
if ( nEffectFlag )
{
if ( nStream == 1 ) // TODO(MIAMI): || nStream == 2 when we have second mission channel?
- AIL_set_stream_volume(mp3Stream[nStream], 64*vol*m_nEffectsVolume >> 14);
+ AIL_set_stream_volume(mp3Stream[nStream], 128*vol*m_nEffectsVolume >> 14);
else
AIL_set_stream_volume(mp3Stream[nStream], m_nEffectsFadeVolume*vol*m_nEffectsVolume >> 14);
}