aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-06 15:31:58 +0000
committerPaweł Kołodziejski2002-10-06 15:31:58 +0000
commitf9b36a3404378876440941def3a6cf9504632aa1 (patch)
tree671e4dff8c9789a11485323f849e39716ec13f71 /scumm
parent60874d4200ab8bcead05c6fca9f367c5eafeef7a (diff)
downloadscummvm-rg350-f9b36a3404378876440941def3a6cf9504632aa1.tar.gz
scummvm-rg350-f9b36a3404378876440941def3a6cf9504632aa1.tar.bz2
scummvm-rg350-f9b36a3404378876440941def3a6cf9504632aa1.zip
applied patch: #619275
svn-id: r5099
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 52a5b25ac3..5a16dd4c79 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -534,7 +534,8 @@ int Sound::startTalkSound(uint32 offset, uint32 b, int mode) {
void Sound::stopTalkSound() {
if (_sfxMode & 2) {
- stopSfxSound();
+ if (_talkChannel != -1)
+ _scumm->_mixer->stop(_talkChannel);
_sfxMode &= ~2;
}
}