From a87bc7f6577aa0ed549df32ac841d4abd59ab669 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 8 May 2005 23:20:19 +0000 Subject: [PATCH] stop music on f2 restart, so the music resets, too (not sure if ResetGame(true) should do this) --- stepmania/src/StepMania.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 48b3802a1b..b23459adea 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1337,7 +1337,10 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam /* If we're in screen test mode, reload the screen. */ if( PREFSMAN->m_bScreenTestMode || bCtrl ) + { + SOUND->StopMusic(); ResetGame( true ); + } else SCREENMAN->SystemMessage( "Reloaded metrics and textures" ); }