From faf32582410a13e51b66cedba340e0b52df089b3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 10 Sep 2003 22:35:35 +0000 Subject: cleanup svn-id: r10162 --- scumm/script_v5.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 3a633511df..ef939b7b2d 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -2749,15 +2749,15 @@ void Scumm_v5::decodeParseString() { int delay = (uint16)getVarOrDirectWord(0x40); if (_gameId == GID_LOOM256) { - VAR(VAR_MUSIC_TIMER) = 0; if (offset == 0 && delay == 0) { + VAR(VAR_MUSIC_TIMER) = 0; _sound->stopCD(); } else { // Loom specified the offset from the start of the CD; // thus we have to subtract the length of the first track // (22500 frames) plus the 2 second = 150 frame leadin. // I.e. in total 22650 frames. - offset = (int)(offset * 7.5 - 22650); + offset = (int)(offset * 7.5 - 22500 - 2*75); // Slightly increase the delay (5 frames = 1/25 of a second). // This noticably improves the experience in Loom CD. -- cgit v1.2.3