[Scummvm-cvs-logs] SF.net SVN: scummvm: [28833] scummvm/trunk/engines/saga/music.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Sep 2 23:40:10 CEST 2007


Revision: 28833
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28833&view=rev
Author:   eriktorbjorn
Date:     2007-09-02 14:40:09 -0700 (Sun, 02 Sep 2007)

Log Message:
-----------
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.

Modified Paths:
--------------
    scummvm/trunk/engines/saga/music.cpp

Modified: scummvm/trunk/engines/saga/music.cpp
===================================================================
--- scummvm/trunk/engines/saga/music.cpp	2007-09-02 21:36:43 UTC (rev 28832)
+++ scummvm/trunk/engines/saga/music.cpp	2007-09-02 21:40:09 UTC (rev 28833)
@@ -566,7 +566,7 @@
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list