aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-07-26 20:39:27 +0000
committerTorbjörn Andersson2006-07-26 20:39:27 +0000
commiteb7cda50aa5db1561d3285410e20408f2cd5b097 (patch)
treed6a73f50eb277c5fa6974d7a1fb6e4e2adc99206 /engines
parente9f13232210a74ae05488beec43f87d7b5e27eb5 (diff)
downloadscummvm-rg350-eb7cda50aa5db1561d3285410e20408f2cd5b097.tar.gz
scummvm-rg350-eb7cda50aa5db1561d3285410e20408f2cd5b097.tar.bz2
scummvm-rg350-eb7cda50aa5db1561d3285410e20408f2cd5b097.zip
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
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/kyra3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/kyra3.cpp b/engines/kyra/kyra3.cpp
index 2d18daae31..0952c01d62 100644
--- a/engines/kyra/kyra3.cpp
+++ b/engines/kyra/kyra3.cpp
@@ -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;