fix HighScore name not saved

This commit is contained in:
Chris Danford
2004-02-11 03:46:54 +00:00
parent 5eb9f6afc7
commit 479026ed29
+3 -5
View File
@@ -43,11 +43,9 @@ XNode* HighScore::CreateNode() const
XNode* pNode = new XNode;
pNode->name = "HighScore";
if( IsRankingToFillIn(sName) )
{
// TRICKY: Don't write "name to fill in" markers.
pNode->AppendChild( "Name", IsRankingToFillIn(sName) ? "" : sName );
}
// TRICKY: Don't write "name to fill in" markers.
pNode->AppendChild( "Name", IsRankingToFillIn(sName) ? "" : sName );
pNode->AppendChild( "sName", sName );
pNode->AppendChild( "Grade", grade );
pNode->AppendChild( "Score", iScore );
pNode->AppendChild( "PercentDP", fPercentDP );