add assert

This commit is contained in:
Glenn Maynard
2005-10-18 20:37:49 +00:00
parent 5dda60ba52
commit 73e514cd8a
+1
View File
@@ -97,6 +97,7 @@ void ProfileManager::Init()
bool b = CreateLocalProfile( pCharacter->GetDisplayName(), sProfileID );
ASSERT( b );
Profile* pProfile = GetLocalProfile( sProfileID );
ASSERT_M( pProfile, sProfileID );
pProfile->m_sCharacterID = sCharacterID;
SaveLocalProfile( sProfileID );
}