optimize battle mode: don't call NoteField::CacheAllUsedNoteSkins every frame

This commit is contained in:
Glenn Maynard
2005-01-01 22:39:08 +00:00
parent 4b69f947dd
commit c5a683b03c
3 changed files with 5 additions and 6 deletions
+3
View File
@@ -858,6 +858,9 @@ void ScreenGameplay::SetupSong( PlayerNumber p, int iSongIndex )
GAMESTATE->m_SongOptions.FromString( a.sModifier );
}
/* Now that course options are applied, load any needed note skins. */
m_Player[p].CacheAllUsedNoteSkins();
/* Update attack bOn flags. */
GAMESTATE->Update(0);
GAMESTATE->RebuildPlayerOptionsFromActiveAttacks( p );