optimize battle mode: don't call NoteField::CacheAllUsedNoteSkins every frame
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user