From 44a7d9cefa9be11d929e16d206ded56773f8a0b2 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 29 Aug 2004 11:05:16 +0000 Subject: [PATCH] Compare against the correct value. Does VC not warn about this? Gcc warned me that I was comparing two different enums. --- stepmania/src/HighScore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/HighScore.cpp b/stepmania/src/HighScore.cpp index de2aef1a30..8ea9ca0b79 100644 --- a/stepmania/src/HighScore.cpp +++ b/stepmania/src/HighScore.cpp @@ -54,7 +54,7 @@ XNode* HighScore::CreateNode() const pTapNoteScores->AppendChild( TapNoteScoreToString(tns), iTapNoteScores[tns] ); XNode* pHoldNoteScores = pNode->AppendChild( "HoldNoteScores" ); FOREACH_HoldNoteScore( hns ) - if( hns != TNS_NONE ) // HACK: don't save meaningless "none" count + if( hns != HNS_NONE ) // HACK: don't save meaningless "none" count pHoldNoteScores->AppendChild( HoldNoteScoreToString(hns), iHoldNoteScores[hns] ); pNode->AppendChild( radarValues.CreateNode() );