From 243a48138d2a8a8311a9ae36b41a4629494b7584 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 2 Sep 2007 21:40:09 +0000 Subject: 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 --- engines/saga/music.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3