From 63fbb804da31800d7c18b911e69b8a3d3d3849d8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 1 Feb 2006 05:49:55 +0000 Subject: [PATCH] clarify --- stepmania/src/ScreenEdit.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index dd97a1d0f8..03edd84eb2 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -1957,8 +1957,10 @@ void ScreenEdit::TransitionEditState( EditState em ) break; } + // // Set up player options for this mode. (EDITING uses m_PlayerStateEdit, which we // don't need to change.) + // if( em != STATE_EDITING ) { // Stop displaying course attacks, if any. @@ -2235,7 +2237,8 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) } else if( SM == SM_BackFromOptions ) { - GAMESTATE->StoreSelectedOptions(); // so that the options stick when we reset Course attacks + // Store the new options, so they stick when we RebuildPlayerOptionsFromActiveAttacks. + GAMESTATE->StoreSelectedOptions(); // stop any music that screen may have been playing SOUND->StopMusic();