aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sequences_v2.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-21 16:18:27 +0000
committerJohannes Schickel2008-03-21 16:18:27 +0000
commita169619526c811f1718bbeb5ed980f68b9d2c8e7 (patch)
treee419518022095bd4b43ec0de8a4d5e23c88bfe2f /engines/kyra/sequences_v2.cpp
parent88069c943a6bd94da8d183f943200076d5638148 (diff)
downloadscummvm-rg350-a169619526c811f1718bbeb5ed980f68b9d2c8e7.tar.gz
scummvm-rg350-a169619526c811f1718bbeb5ed980f68b9d2c8e7.tar.bz2
scummvm-rg350-a169619526c811f1718bbeb5ed980f68b9d2c8e7.zip
- Implemented opcode 97: o2_isAnySoundPlaying
- reworked sound channel handling in HoF => fixed some voice related bugs svn-id: r31209
Diffstat (limited to 'engines/kyra/sequences_v2.cpp')
-rw-r--r--engines/kyra/sequences_v2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/sequences_v2.cpp b/engines/kyra/sequences_v2.cpp
index f0688d6e3d..41f98f8caf 100644
--- a/engines/kyra/sequences_v2.cpp
+++ b/engines/kyra/sequences_v2.cpp
@@ -1968,13 +1968,14 @@ void KyraEngine_v2::seq_cmpFadeFrame(const char *cmpFile) {
}
void KyraEngine_v2::seq_playTalkText(uint8 chatNum) {
- debugC(9, kDebugLevelMain, "KyraEngine_v2::seq_playIntroChat(%i)", chatNum);
+ debugC(9, kDebugLevelMain, "KyraEngine_v2::seq_playTalkText(%i)", chatNum);
assert(chatNum < _sequenceSoundListSize);
if (chatNum < 12 && !_flags.isDemo && textEnabled())
seq_setTextEntry(chatNum, 160, 168, _sequenceStringsDuration[chatNum], 160);
+ _speechFile = _sequenceSoundList[chatNum];
_sound->voicePlay(_sequenceSoundList[chatNum]);
}