fix HighScore name not saved
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user