unload all profiles on reset, not just ones loaded from memory cards;

fixes wrong profile being used when a card is inserted too late and a new
game starts (local profile was already loaded)
This commit is contained in:
Glenn Maynard
2005-02-06 09:58:50 +00:00
parent 39e5c30706
commit ddae9b2242
-1
View File
@@ -157,7 +157,6 @@ void GameState::Reset()
ResetStageStatistics(); ResetStageStatistics();
FOREACH_PlayerNumber( pn ) FOREACH_PlayerNumber( pn )
if( PROFILEMAN->ProfileWasLoadedFromMemoryCard(pn) )
PROFILEMAN->UnloadProfile( pn ); PROFILEMAN->UnloadProfile( pn );
SONGMAN->FreeAllLoadedFromProfiles(); SONGMAN->FreeAllLoadedFromProfiles();