Cache note skins before playing.

This commit is contained in:
Steve Checkoway
2006-08-01 20:56:16 +00:00
parent c98fabf1f2
commit 433155f1e1
+1
View File
@@ -2211,6 +2211,7 @@ void ScreenEdit::TransitionEditState( EditState em )
/* If we're in course display mode, set that up. */ /* If we're in course display mode, set that up. */
SetupCourseAttacks(); SetupCourseAttacks();
m_Player->CacheAllUsedNoteSkins();
m_Player.Load( m_NoteDataEdit ); m_Player.Load( m_NoteDataEdit );
GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerController = PREFSMAN->m_AutoPlay; GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerController = PREFSMAN->m_AutoPlay;