aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-08-13 01:02:24 +0000
committerTravis Howell2004-08-13 01:02:24 +0000
commit47c04ea4f72f0c8429b9437828ac0a5934396923 (patch)
treedaf640013c686487e7138ed29109b4ede8a50645 /scumm/string.cpp
parent3fe739efb24e72a97fd9212657cd692df8d97c90 (diff)
downloadscummvm-rg350-47c04ea4f72f0c8429b9437828ac0a5934396923.tar.gz
scummvm-rg350-47c04ea4f72f0c8429b9437828ac0a5934396923.tar.bz2
scummvm-rg350-47c04ea4f72f0c8429b9437828ac0a5934396923.zip
Ooos
svn-id: r14569
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index e9bad9e88e..a7a8d24637 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -53,10 +53,11 @@ void ScummEngine::unkMessage1(const byte *msg) {
// Sam and Max uses a caching system, printing empty messages
// and setting VAR_V6_SOUNDMODE beforehand. See patch 609791.
- if (_gameId == GID_SAMNMAX && VAR(VAR_V6_SOUNDMODE) != 2)
+ if (_gameId == GID_SAMNMAX)
channel = VAR(VAR_V6_SOUNDMODE);
- _sound->talkSound(a, b, 1, channel);
+ if (channel != 2)
+ _sound->talkSound(a, b, 1, channel);
}
}