From d27c118acc455b57ba988b0bbbb681fc36914ee9 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sun, 13 Jan 2008 00:15:43 +0000 Subject: additional missing stoppingSequence to music transitions. svn-id: r30464 --- engines/scumm/imuse_digi/dimuse_music.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines') diff --git a/engines/scumm/imuse_digi/dimuse_music.cpp b/engines/scumm/imuse_digi/dimuse_music.cpp index 8003ea646e..3def3be747 100644 --- a/engines/scumm/imuse_digi/dimuse_music.cpp +++ b/engines/scumm/imuse_digi/dimuse_music.cpp @@ -178,6 +178,8 @@ void IMuseDigital::playDigMusic(const char *songName, const imuseDigTable *table if (table->filename[0] == 0) { return; } + if (table->transitionType == 4) + _stopingSequence = true; if ((!sequence) && (table->attribPos != 0) && (table->attribPos == _digStateMusicTable[_curMusicState].attribPos)) { startMusic(table->filename, table->soundId, 0, 127); @@ -320,6 +322,8 @@ void IMuseDigital::playComiMusic(const char *songName, const imuseComiTable *tab fadeOutMusic(60); return; } + if (table->transitionType == 4) + _stopingSequence = true; if ((!sequence) && (table->attribPos != 0) && (table->attribPos == _comiStateMusicTable[_curMusicState].attribPos)) { fadeOutMusic(120); // expiremental fadeDelay 120 instead from table -- cgit v1.2.3