diff options
author | Torbjörn Andersson | 2007-09-02 21:40:09 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-09-02 21:40:09 +0000 |
commit | 243a48138d2a8a8311a9ae36b41a4629494b7584 (patch) | |
tree | 63829aa2a502a8c036c38763c99e297799b39445 /engines | |
parent | cb2ce512363622fe1aafcf46e33aa18d3488e4e7 (diff) | |
download | scummvm-rg350-243a48138d2a8a8311a9ae36b41a4629494b7584.tar.gz scummvm-rg350-243a48138d2a8a8311a9ae36b41a4629494b7584.tar.bz2 scummvm-rg350-243a48138d2a8a8311a9ae36b41a4629494b7584.zip |
I believe this fixes part of the music fading glitch in IHNM, but there's still
a slight problem when the intro fades the music down. Just before starting the
new music, the old music is briefly set back to normal volume again. This could
be a script bug, but I haven't investigated it any further.
svn-id: r28833
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/music.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp index dd610fe65b..6b233e0256 100644 --- a/engines/saga/music.cpp +++ b/engines/saga/music.cpp @@ -566,7 +566,7 @@ void Music::play(uint32 resourceId, MusicFlags flags) { parser->property(MidiParser::mpCenterPitchWheelOnUnload, 1); _player->_parser = parser; - _player->setVolume(_vm->_musicVolume == 10 ? 255 : _vm->_musicVolume * 25); + setVolume(_vm->_musicVolume == 10 ? 255 : _vm->_musicVolume * 25); if (flags & MUSIC_LOOP) _player->setLoop(true); |