unload edits when unloading the profile

This commit is contained in:
Glenn Maynard
2005-04-25 00:25:04 +00:00
parent 96bcbbc820
commit d997b7d137
+1
View File
@@ -252,6 +252,7 @@ void ProfileManager::UnloadProfile( PlayerNumber pn )
m_bLastLoadWasTamperedOrCorrupt[pn] = false;
m_bLastLoadWasFromLastGood[pn] = false;
m_Profile[pn].InitAll();
SONGMAN->FreeAllLoadedFromProfile( (ProfileSlot) pn );
}
const Profile* ProfileManager::GetProfile( PlayerNumber pn ) const