aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2018-05-05 10:46:20 -0400
committerPaul Gilbert2018-05-05 10:46:20 -0400
commitf5238c66d5279bbc9de3272868b08c62adf3bbbd (patch)
tree769ce8ab3ea3a723b31270a24cf3ace4bfcd38aa /engines/xeen
parent60bff89140a2b049e81b74d218c56e5d66ac98a4 (diff)
downloadscummvm-rg350-f5238c66d5279bbc9de3272868b08c62adf3bbbd.tar.gz
scummvm-rg350-f5238c66d5279bbc9de3272868b08c62adf3bbbd.tar.bz2
scummvm-rg350-f5238c66d5279bbc9de3272868b08c62adf3bbbd.zip
XEEN: Add an optional param to CD playback to specify sound type
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 05450c2a58..4854f4edc1 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -1472,7 +1472,7 @@ bool Scripts::cmdPlayCD(ParamsIterator &params) {
int start = params.readUint16LE() * 60 / 75;
int finish = params.readUint16LE() * 60 / 75;
- g_system->getAudioCDManager()->play(trackNum, 1, start, finish - start);
+ g_system->getAudioCDManager()->play(trackNum, 1, start, finish - start, false, Audio::Mixer::kSpeechSoundType);
return true;
}