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.)

svn-id: r23604
This commit is contained in:
Torbjörn Andersson 2006-07-26 20:39:27 +00:00
parent e9f1323221
commit eb7cda50aa

View File

@ -327,6 +327,7 @@ int KyraEngine_v3::handleMainMenu(WSAMovieV3 *logo) {
_screen->setFont(oldFont);
if (command == 3) {
_soundDigital->beginFadeOut(_musicSoundChannel);
_screen->fadeToBlack();
_soundDigital->stopSound(_musicSoundChannel);
_musicSoundChannel = -1;