aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
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);
}
}