aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-28 00:16:47 +0000
committerJohannes Schickel2008-03-28 00:16:47 +0000
commita1ec44cef2284a285a17f22136ffd285a26af42f (patch)
treecd39e56fa65969e01b965987b8b3387d46fa2803
parent98f9a47619681943d9dc797f6982abca3a1f4c44 (diff)
downloadscummvm-rg350-a1ec44cef2284a285a17f22136ffd285a26af42f.tar.gz
scummvm-rg350-a1ec44cef2284a285a17f22136ffd285a26af42f.tar.bz2
scummvm-rg350-a1ec44cef2284a285a17f22136ffd285a26af42f.zip
Properly set sfx flag when playing digital SFX.
svn-id: r31280
-rw-r--r--engines/kyra/kyra_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp
index 7941a68256..89c9c2a863 100644
--- a/engines/kyra/kyra_v2.cpp
+++ b/engines/kyra/kyra_v2.cpp
@@ -1778,7 +1778,7 @@ void KyraEngine_v2::snd_playSoundEffect(int track) {
int16 vocIndex = (int16)READ_LE_UINT16(&_ingameSoundIndex[track * 2]);
if (vocIndex != -1)
- _sound->voicePlay(_ingameSoundList[vocIndex]);
+ _sound->voicePlay(_ingameSoundList[vocIndex], true);
else if (_flags.platform == Common::kPlatformPC)
// TODO ?? Maybe there is a way to let users select whether they want
// voc, midi or adl sfx (even though it makes no sense to choose anything but voc).