Compare against the correct value. Does VC not warn about this? Gcc warned me that I was comparing two different enums.

This commit is contained in:
Steve Checkoway
2004-08-29 11:05:16 +00:00
parent cf099800c9
commit 44a7d9cefa
+1 -1
View File
@@ -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() );