aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-16 03:39:23 +0000
committerTravis Howell2004-07-16 03:39:23 +0000
commitbd8c7f08f626eb75b5eb3d20769b3de2a3aeda43 (patch)
tree837761099ad8ddb8bbfa0aeef97acde02c544e11 /scumm/sound.cpp
parentefbd2fe42feacbcc93a72932aadb35af8d8bd512 (diff)
downloadscummvm-rg350-bd8c7f08f626eb75b5eb3d20769b3de2a3aeda43.tar.gz
scummvm-rg350-bd8c7f08f626eb75b5eb3d20769b3de2a3aeda43.tar.bz2
scummvm-rg350-bd8c7f08f626eb75b5eb3d20769b3de2a3aeda43.zip
Fix bugs:
FT: Stadium Salesman Glitches COMI: Wally's Fake piratehook still on ground after pick up svn-id: r14221
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 7b788fe81e..ade35e7d6f 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -515,7 +515,7 @@ void Sound::processSfxQueues() {
finished = !_talkChannelHandle.isActive();
}
- if ((uint) act < 0x80 && !_vm->_string[0].no_talk_anim && (finished || !_endOfMouthSync)) {
+ if ((uint) act < 0x80 && ((_vm->_version == 8) || (_vm->_version <= 7 && !_vm->_string[0].no_talk_anim)) && (finished || !_endOfMouthSync)) {
a = _vm->derefActor(act, "processSfxQueues");
if (a->isInCurrentRoom()) {
b = finished || isMouthSyncOff(_curSoundPos);
@@ -531,7 +531,8 @@ void Sound::processSfxQueues() {
}
if ((!ConfMan.getBool("subtitles") && finished && _vm->_version <= 6) || (finished && _vm->_talkDelay == 0)) {
- _vm->stopTalk();
+ if (!(_vm->_version == 8 && _vm->VAR(_vm->VAR_HAVE_MSG) == 0))
+ _vm->stopTalk();
}
}