aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2003-12-18 01:22:28 +0000
committerMax Horn2003-12-18 01:22:28 +0000
commita458da989bbe77d798f68f253ee63a68c925b6c0 (patch)
tree95b6d5c2baf390f0246a9b8677bd5453f2aa9556 /scumm/sound.cpp
parent127e5ce5f94e2526a41c802c1adbe6480790c796 (diff)
downloadscummvm-rg350-a458da989bbe77d798f68f253ee63a68c925b6c0.tar.gz
scummvm-rg350-a458da989bbe77d798f68f253ee63a68c925b6c0.tar.bz2
scummvm-rg350-a458da989bbe77d798f68f253ee63a68c925b6c0.zip
cleanup
svn-id: r11729
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 795b897e1e..063331f393 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -546,7 +546,7 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, PlayingSoundHandle
int talkChannel = (_talkChannelHandle - 1);
if (mode == 1 && (_scumm->_gameId == GID_TENTACLE
|| (_scumm->_gameId == GID_SAMNMAX && !_scumm->isScriptRunning(99)))) {
- for (i = 0; i < _scumm->_mixer->NUM_CHANNELS; i++) {
+ for (i = 0; i < SoundMixer::NUM_CHANNELS; i++) {
if (i != talkChannel) {
_scumm->_mixer->stopChannel(i);
}