aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_hof.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-02-01 20:35:51 +0000
committerJohannes Schickel2009-02-01 20:35:51 +0000
commit574a7924df26d9ebb072c6cd582442f4e29a5213 (patch)
tree46e423beb1400c0c220a96d259bc33d26134bd7d /engines/kyra/kyra_hof.cpp
parent90184e6812d25645c5e5c3218de8d2a2f77abe45 (diff)
downloadscummvm-rg350-574a7924df26d9ebb072c6cd582442f4e29a5213.tar.gz
scummvm-rg350-574a7924df26d9ebb072c6cd582442f4e29a5213.tar.bz2
scummvm-rg350-574a7924df26d9ebb072c6cd582442f4e29a5213.zip
Implemented per voice volume control. (Used for example in LoL intro)
svn-id: r36184
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r--engines/kyra/kyra_hof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp
index 9875a17491..00c630d3d4 100644
--- a/engines/kyra/kyra_hof.cpp
+++ b/engines/kyra/kyra_hof.cpp
@@ -1530,7 +1530,7 @@ void KyraEngine_HoF::snd_playSoundEffect(int track, int volume) {
int16 vocIndex = (int16)READ_LE_UINT16(&_ingameSoundIndex[track * 2]);
if (vocIndex != -1) {
- _sound->voicePlay(_ingameSoundList[vocIndex], true);
+ _sound->voicePlay(_ingameSoundList[vocIndex], 255, true);
} else if (_flags.platform == Common::kPlatformPC) {
if (_sound->getSfxType() == Sound::kMidiMT32)
track = track < _mt32SfxMapSize ? _mt32SfxMap[track] - 1 : -1;