fade out music on quit
authorMatthias Braun <matze@braunis.de>
Fri, 25 May 2007 14:15:57 +0000 (14:15 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 25 May 2007 14:15:57 +0000 (14:15 +0000)
SVN-Revision: 5011

src/title.cpp

index f3829f5..2a34b10 100644 (file)
@@ -473,6 +473,7 @@ TitleScreen::update(float elapsed_time)
           break;
         case MNID_QUITMAINMENU:
           main_loop->quit(new FadeOut(0.25));
+                 sound_manager->stop_music(0.25);
           break;
       }
     } else if(menu == load_game_menu.get()) {