diff options
author | Travis Howell | 2004-02-22 08:02:56 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-22 08:02:56 +0000 |
commit | 36e9979303f0c416ae912d8412e6ee9d025fb04a (patch) | |
tree | 4d94bdf8b317b143464be463f76375065b3138de /scumm | |
parent | 8a8bbbf80f7af181de8541c9bb9bc4bda0a9226f (diff) | |
download | scummvm-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.cpp | 2 |
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); |