From cc241c52ccd0ffe7de42e1ba172fe8d42d602649 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 22 Dec 2003 20:28:27 +0000 Subject: actually, converting a sound handle to a sound index is an evil hack, too... :-) svn-id: r11859 --- scumm/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/sound.cpp b/scumm/sound.cpp index ce475a4ad7..231d89a045 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -534,7 +534,7 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, PlayingSoundHandle // HACK: Checking for script 99 in Sam & Max is to keep Conroy's song // from being interrupted. - int talkChannel = (_talkChannelHandle - 1); + int talkChannel = (_talkChannelHandle - 1); // EVIL HACK!!! if (mode == 1 && (_scumm->_gameId == GID_TENTACLE || (_scumm->_gameId == GID_SAMNMAX && !_scumm->isScriptRunning(99)))) { for (i = 0; i < SoundMixer::NUM_CHANNELS; i++) { -- cgit v1.2.3