GetDisplayName -> GetDisplayNameOrHighScoreName

This commit is contained in:
Chris Danford
2005-07-13 18:49:49 +00:00
parent 881db4c838
commit 505e835214
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ void Profile::InitRecentCourseScores()
m_vRecentCourseScores.clear();
}
CString Profile::GetDisplayName() const
CString Profile::GetDisplayNameOrHighScoreName() const
{
if( !m_sDisplayName.empty() )
return m_sDisplayName;
@@ -897,7 +897,7 @@ XNode* Profile::SaveGeneralDataCreateNode() const
// TRICKY: These are write-only elements that are never read again. This
// data is required by other apps (like internet ranking), but is
// redundant to the game app.
pGeneralDataNode->AppendChild( "DisplayName", GetDisplayName() );
pGeneralDataNode->AppendChild( "DisplayName", GetDisplayNameOrHighScoreName() );
pGeneralDataNode->AppendChild( "IsMachine", IsMachine() );
pGeneralDataNode->AppendChild( "IsWeightSet", m_iWeightPounds != 0 );