diff options
author | Travis Howell | 2004-08-13 01:02:24 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-13 01:02:24 +0000 |
commit | 47c04ea4f72f0c8429b9437828ac0a5934396923 (patch) | |
tree | daf640013c686487e7138ed29109b4ede8a50645 /scumm | |
parent | 3fe739efb24e72a97fd9212657cd692df8d97c90 (diff) | |
download | scummvm-rg350-47c04ea4f72f0c8429b9437828ac0a5934396923.tar.gz scummvm-rg350-47c04ea4f72f0c8429b9437828ac0a5934396923.tar.bz2 scummvm-rg350-47c04ea4f72f0c8429b9437828ac0a5934396923.zip |
Ooos
svn-id: r14569
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/string.cpp | 5 |
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); } } |