after unloading the profile, clear out the displayname and last used high score name.

This commit is contained in:
Thad Ward
2003-09-14 20:34:33 +00:00
parent 9e52a02496
commit f022620d05
+3
View File
@@ -106,6 +106,9 @@ void ProfileManager::UnloadProfile( PlayerNumber pn )
//
SONGMAN->SaveNoteScoresToFile( m_sProfileDir[pn]+NOTES_SCORES_FILE, (MemoryCard)pn );
SONGMAN->SaveCourseScoresToFile( m_sProfileDir[pn]+COURSE_SCORES_FILE, (MemoryCard)pn );
// clear out the displayname and highscore name when we unload the profile.
m_Profile[pn].Init();
}
CString ProfileManager::GetDisplayName( PlayerNumber pn )