From f265551c97a542984f0def8e52101322b66ee012 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 15 Jan 2005 03:31:07 +0000 Subject: [PATCH] don't reload mine sounds, etc when entering play mode in the editor --- stepmania/src/ScreenEdit.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index c9dd87ae4e..31273e92d3 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -553,16 +553,7 @@ ScreenEdit::ScreenEdit( CString sName ) : Screen( sName ) /* XXX: Do we actually have to send real note data here, and to m_NoteFieldRecord? * (We load again on play/record.) */ - m_Player.Init( - GAMESTATE->m_pPlayerState[PLAYER_1], - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL ); + m_Player.Init( GAMESTATE->m_pPlayerState[PLAYER_1], NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ); m_Player.Load( noteData ); GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerController = PC_HUMAN; m_Player.SetXY( PLAYER_X, PLAYER_Y ); @@ -2181,7 +2172,6 @@ void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, int* iAnswers ) /* If we're in course display mode, set that up. */ SetupCourseAttacks(); - m_Player.Init( GAMESTATE->m_pPlayerState[PLAYER_1], NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ); m_Player.Load( m_NoteFieldEdit ); GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerController = PREFSMAN->m_bAutoPlay?PC_AUTOPLAY:PC_HUMAN;