From f022620d05f940285e42a847768605c08b16c6f3 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Sun, 14 Sep 2003 20:34:33 +0000 Subject: [PATCH] after unloading the profile, clear out the displayname and last used high score name. --- stepmania/src/ProfileManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/ProfileManager.cpp b/stepmania/src/ProfileManager.cpp index 93698c6f5b..04ccad802c 100644 --- a/stepmania/src/ProfileManager.cpp +++ b/stepmania/src/ProfileManager.cpp @@ -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 )