aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-03-10 06:05:49 +0000
committerTravis Howell2006-03-10 06:05:49 +0000
commit259e3cf301fea0bed648f77a9d3ae74560cc371c (patch)
tree3d4447e4cdc14469fe11ad7dc61d7f28b22b5792 /engines/scumm/string.cpp
parentde1cd95927fbf954cbce695093dffe08961d531d (diff)
downloadscummvm-rg350-259e3cf301fea0bed648f77a9d3ae74560cc371c.tar.gz
scummvm-rg350-259e3cf301fea0bed648f77a9d3ae74560cc371c.tar.bz2
scummvm-rg350-259e3cf301fea0bed648f77a9d3ae74560cc371c.zip
Adjust talk sound check in CHARSET_1(), since processSfxQueues() doesn't exist in HE games. Fixes glitch when time machine is used in putttime.
svn-id: r21195
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r--engines/scumm/string.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index bdfafc513b..b2eb1eee75 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -476,8 +476,13 @@ void ScummEngine::CHARSET_1() {
return;
if ((_game.version <= 6 && _haveMsg == 1) || (_game.version == 7 && _haveMsg != 1) || (_game.version == 8 && VAR(VAR_HAVE_MSG))) {
- if ((_sound->_sfxMode & 2) == 0)
- stopTalk();
+ if (_game.heversion >= 60) {
+ if (_sound->isSoundRunning(1) == 0)
+ stopTalk();
+ } else {
+ if ((_sound->_sfxMode & 2) == 0)
+ stopTalk();
+ }
return;
}