From 6c8ee76f80117c03f68c4ea96cc51adb9b81b127 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 28 Dec 2009 00:15:31 +0000 Subject: SCI/new music code: Fixed music fading in SCI2 - seems like setting the signal when fading is done isn't necessary svn-id: r46666 --- engines/sci/sfx/music.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp index 089ae41afa..9414abfdb7 100644 --- a/engines/sci/sfx/music.cpp +++ b/engines/sci/sfx/music.cpp @@ -393,12 +393,6 @@ void SciMusic::doFade(MusicEntry *pSnd) { } pSnd->pMidiParser->setVolume(pSnd->volume); - - if (pSnd->fadeStep == 0) { - // Signal the engine scripts that the sound is done fading - SegManager *segMan = ((SciEngine *)g_engine)->getEngineState()->_segMan; // HACK - PUT_SEL32V(segMan, pSnd->soundObj, signal, SIGNAL_OFFSET); - } } } -- cgit v1.2.3