aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-18 20:30:31 +0000
committerMartin Kiewitz2009-10-18 20:30:31 +0000
commitcdcd465a9575746f14f2f2961a7e1ecca04dde10 (patch)
treee1bb9bf3eb457b03d7d3e8c2040331d363dc46ed /engines/sci
parentbe4078823abf1057038f9a03d476e9e70f814692 (diff)
downloadscummvm-rg350-cdcd465a9575746f14f2f2961a7e1ecca04dde10.tar.gz
scummvm-rg350-cdcd465a9575746f14f2f2961a7e1ecca04dde10.tar.bz2
scummvm-rg350-cdcd465a9575746f14f2f2961a7e1ecca04dde10.zip
SCI: kDoSound doesnt reset nodePtr on fade anymore, fixes lsl5 endless music loop at patti exam scene
svn-id: r45237
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/ksound.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp
index b834f87b6b..074e88cc9d 100644
--- a/engines/sci/engine/ksound.cpp
+++ b/engines/sci/engine/ksound.cpp
@@ -914,9 +914,7 @@ static reg_t kDoSoundSci1Late(EngineState *s, int argc, reg_t *argv) {
/* FIXME: The next couple of lines actually STOP the handle, rather
** than fading it! */
if (argv[5].toUint16()) {
- PUT_SEL32V(segMan, obj, signal, SIGNAL_OFFSET);
- PUT_SEL32V(segMan, obj, nodePtr, 0);
- PUT_SEL32V(segMan, obj, handle, 0);
+ PUT_SEL32V(segman, obj, signal, SIGNAL_OFFSET);
s->_sound.sfx_song_set_status(handle, SOUND_STATUS_STOPPED);
} else {
// FIXME: Support fade-and-continue. For now, send signal right away.