[Scummvm-cvs-logs] SF.net SVN: scummvm: [23604] scummvm/trunk/engines/kyra/kyra3.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed Jul 26 22:39:31 CEST 2006


Revision: 23604
Author:   eriktorbjorn
Date:     2006-07-26 13:39:27 -0700 (Wed, 26 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23604&view=rev

Log Message:
-----------
Fade out the music when using the Kyra 3 menu to exit. (The original does, and
it might make a useful test case for the fade-out code.)

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra3.cpp
Modified: scummvm/trunk/engines/kyra/kyra3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra3.cpp	2006-07-26 20:30:57 UTC (rev 23603)
+++ scummvm/trunk/engines/kyra/kyra3.cpp	2006-07-26 20:39:27 UTC (rev 23604)
@@ -327,6 +327,7 @@
 	_screen->setFont(oldFont);
 	
 	if (command == 3) {
+		_soundDigital->beginFadeOut(_musicSoundChannel);
 		_screen->fadeToBlack();
 		_soundDigital->stopSound(_musicSoundChannel);
 		_musicSoundChannel = -1;


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