it's no longer possible to select a nonexistant theme, unless "default"
itself doesn't exist, because ModeChoice only considers a string to be a note skin if a note skin by that name exists
This commit is contained in:
@@ -190,20 +190,7 @@ void ResetGame( bool ReturnToFirstScreen )
|
||||
INPUTMAPPER->ReadMappingsFromDisk();
|
||||
|
||||
NOTESKIN->RefreshNoteSkinData( GAMESTATE->m_pCurGame );
|
||||
|
||||
/*
|
||||
GameState::Reset() will switch the NoteSkin
|
||||
FOREACH_PlayerNumber( p )
|
||||
{
|
||||
PlayerNumber pn = (PlayerNumber)p;
|
||||
if( !NOTESKIN->DoesNoteSkinExist( NOTESKIN->GetCurNoteSkinName(pn) ) )
|
||||
{
|
||||
CStringArray asNoteSkinNames;
|
||||
NOTESKIN->GetNoteSkinNames( asNoteSkinNames );
|
||||
NOTESKIN->SwitchNoteSkin( pn, asNoteSkinNames[0] );
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
if( !THEME->DoesThemeExist( THEME->GetCurThemeName() ) )
|
||||
{
|
||||
CString sGameName = GAMESTATE->GetCurrentGame()->m_szName;
|
||||
|
||||
Reference in New Issue
Block a user