fix Attr stuff

This commit is contained in:
Chris Danford
2005-10-18 07:00:33 +00:00
parent ac76715d21
commit b2e9c616c8
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -94,7 +94,8 @@ void ProfileManager::Init()
Character *pCharacter = CHARMAN->GetCharacterFromID( sCharacterID );
ASSERT_M( pCharacter, sCharacterID );
CString sProfileID;
CreateLocalProfile( pCharacter->GetDisplayName(), sProfileID );
bool b = CreateLocalProfile( pCharacter->GetDisplayName(), sProfileID );
ASSERT( b );
Profile* pProfile = GetLocalProfile( sProfileID );
pProfile->m_sCharacterID = sCharacterID;
SaveLocalProfile( sProfileID );