aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-12-22 20:28:27 +0000
committerMax Horn2003-12-22 20:28:27 +0000
commitcc241c52ccd0ffe7de42e1ba172fe8d42d602649 (patch)
tree47ef818b3e3fa2bbde4db38873e36e4f523ec0e9
parentcb782764b40fd15c5234e33faf0747e5ebf995b3 (diff)
downloadscummvm-rg350-cc241c52ccd0ffe7de42e1ba172fe8d42d602649.tar.gz
scummvm-rg350-cc241c52ccd0ffe7de42e1ba172fe8d42d602649.tar.bz2
scummvm-rg350-cc241c52ccd0ffe7de42e1ba172fe8d42d602649.zip
actually, converting a sound handle to a sound index is an evil hack, too... :-)
svn-id: r11859
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
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++) {