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:
@@ -54,7 +54,7 @@ XNode* HighScore::CreateNode() const
|
|||||||
pTapNoteScores->AppendChild( TapNoteScoreToString(tns), iTapNoteScores[tns] );
|
pTapNoteScores->AppendChild( TapNoteScoreToString(tns), iTapNoteScores[tns] );
|
||||||
XNode* pHoldNoteScores = pNode->AppendChild( "HoldNoteScores" );
|
XNode* pHoldNoteScores = pNode->AppendChild( "HoldNoteScores" );
|
||||||
FOREACH_HoldNoteScore( hns )
|
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] );
|
pHoldNoteScores->AppendChild( HoldNoteScoreToString(hns), iHoldNoteScores[hns] );
|
||||||
pNode->AppendChild( radarValues.CreateNode() );
|
pNode->AppendChild( radarValues.CreateNode() );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user