add TNS_AVOIDED_MINE. Fixes unattempted mines counted as successful when ending early.

This commit is contained in:
Chris Danford
2005-04-13 01:11:44 +00:00
parent 4988744e12
commit d312ea5bef
6 changed files with 46 additions and 30 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ int GetSuccessfulMines( const NoteData &in, int iStartIndex = 0, int iEndIndex =
for( int t=0; t<in.GetNumTracks(); t++ )
{
const TapNote &tn = in.GetTapNote(t,i);
if( tn.type == TapNote::mine && tn.result.tns != TNS_HIT_MINE )
if( tn.type == TapNote::mine && tn.result.tns == TNS_AVOIDED_MINE )
iNumSuccessfulMinesNotes++;
}
}