fix HighScore name not saved
This commit is contained in:
@@ -43,11 +43,9 @@ XNode* HighScore::CreateNode() const
|
|||||||
XNode* pNode = new XNode;
|
XNode* pNode = new XNode;
|
||||||
pNode->name = "HighScore";
|
pNode->name = "HighScore";
|
||||||
|
|
||||||
if( IsRankingToFillIn(sName) )
|
|
||||||
{
|
|
||||||
// TRICKY: Don't write "name to fill in" markers.
|
// TRICKY: Don't write "name to fill in" markers.
|
||||||
pNode->AppendChild( "Name", IsRankingToFillIn(sName) ? "" : sName );
|
pNode->AppendChild( "Name", IsRankingToFillIn(sName) ? "" : sName );
|
||||||
}
|
pNode->AppendChild( "sName", sName );
|
||||||
pNode->AppendChild( "Grade", grade );
|
pNode->AppendChild( "Grade", grade );
|
||||||
pNode->AppendChild( "Score", iScore );
|
pNode->AppendChild( "Score", iScore );
|
||||||
pNode->AppendChild( "PercentDP", fPercentDP );
|
pNode->AppendChild( "PercentDP", fPercentDP );
|
||||||
|
|||||||
Reference in New Issue
Block a user