aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-01-19 17:30:49 +0000
committerPaweł Kołodziejski2008-01-19 17:30:49 +0000
commit35fb2055b08c42a680b011cc5641de4024229d74 (patch)
treebbc9cbf6b5fc4d3bafdade8e548f87a19a0b3f3d /engines/scumm
parent62d4b44502597f55a393059e1f8a54106dd8cb8e (diff)
downloadscummvm-rg350-35fb2055b08c42a680b011cc5641de4024229d74.tar.gz
scummvm-rg350-35fb2055b08c42a680b011cc5641de4024229d74.tar.bz2
scummvm-rg350-35fb2055b08c42a680b011cc5641de4024229d74.zip
moved fadeDelay
svn-id: r30567
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/imuse_digi/dimuse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/imuse_digi/dimuse.cpp b/engines/scumm/imuse_digi/dimuse.cpp
index 35a39ad9f3..c883bdf2e9 100644
--- a/engines/scumm/imuse_digi/dimuse.cpp
+++ b/engines/scumm/imuse_digi/dimuse.cpp
@@ -380,9 +380,9 @@ void IMuseDigital::switchToNextRegion(Track *track) {
assert(region != -1);
int sampleHookId = _sound->getJumpHookId(soundDesc, jumpId);
assert(sampleHookId != -1);
- int fadeDelay = (60 * _sound->getJumpFade(soundDesc, jumpId)) / 1000;
debug(5, "SwToNeReg(trackId:%d) - JUMP found - sound:%d, track hookId:%d, data hookId:%d", track->trackId, track->soundId, track->curHookId, sampleHookId);
if (track->curHookId == sampleHookId) {
+ int fadeDelay = (60 * _sound->getJumpFade(soundDesc, jumpId)) / 1000;
debug(5, "SwToNeReg(trackId:%d) - sound(%d) match hookId", track->trackId, track->soundId);
if (fadeDelay) {
debug(5, "SwToNeReg(trackId:%d) - call cloneToFadeOutTrack(delay:%d)", track->trackId, fadeDelay);