aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-02-22 08:02:56 +0000
committerTravis Howell2004-02-22 08:02:56 +0000
commit36e9979303f0c416ae912d8412e6ee9d025fb04a (patch)
tree4d94bdf8b317b143464be463f76375065b3138de /scumm
parent8a8bbbf80f7af181de8541c9bb9bc4bda0a9226f (diff)
downloadscummvm-rg350-36e9979303f0c416ae912d8412e6ee9d025fb04a.tar.gz
scummvm-rg350-36e9979303f0c416ae912d8412e6ee9d025fb04a.tar.bz2
scummvm-rg350-36e9979303f0c416ae912d8412e6ee9d025fb04a.zip
Restrict hack to COMI
svn-id: r12981
Diffstat (limited to 'scumm')
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index eb5c095695..5faa75daf9 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -880,7 +880,7 @@ const byte *ScummEngine::translateTextAndPlaySpeech(const byte *ptr) {
// FIXME: This is a hack to distinguish between 'real' actor speech and
// some odd (?) other strings... there is probably a better way to do this.
// I just don't know which (yet).
- if (ptr[i+1] != 0 && ptr[i+1] != 255) {
+ if ((_gameId == GID_DIG) || (_gameId == GID_CMI && ptr[i+1] != 0 && ptr[i+1] != 255)) {
_sound->stopTalkSound();
_imuseDigital->startVoice(kTalkSoundID, pointer);
_sound->talkSound(0, 0, 2, -1);