aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-28 00:15:31 +0000
committerFilippos Karapetis2009-12-28 00:15:31 +0000
commit6c8ee76f80117c03f68c4ea96cc51adb9b81b127 (patch)
tree8efc4e2c914a307fd6a2ab3a52a574268fe0f647 /engines
parent5adb6277eb3bf0badd6d2403177ce4411c89ee13 (diff)
downloadscummvm-rg350-6c8ee76f80117c03f68c4ea96cc51adb9b81b127.tar.gz
scummvm-rg350-6c8ee76f80117c03f68c4ea96cc51adb9b81b127.tar.bz2
scummvm-rg350-6c8ee76f80117c03f68c4ea96cc51adb9b81b127.zip
SCI/new music code: Fixed music fading in SCI2 - seems like setting the signal when fading is done isn't necessary
svn-id: r46666
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sfx/music.cpp6
1 files changed, 0 insertions, 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);
- }
}
}