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:
Glenn Maynard
2004-09-06 00:58:34 +00:00
parent 540b116244
commit 8438dffa0d
+1 -14
View File
@@ -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;