cleanup
This commit is contained in:
@@ -180,10 +180,9 @@ TapNoteScore NoteDataWithScoring::MinTapNoteScore( const NoteData &in, unsigned
|
|||||||
TapNoteScore score = TNS_MARVELOUS;
|
TapNoteScore score = TNS_MARVELOUS;
|
||||||
for( int t=0; t<in.GetNumTracks(); t++ )
|
for( int t=0; t<in.GetNumTracks(); t++ )
|
||||||
{
|
{
|
||||||
/* Don't coun, or else the score
|
/* Ignore mines, or the score will always be TNS_NONE. */
|
||||||
* will always be TNS_NONE. */
|
|
||||||
const TapNote &tn = in.GetTapNote(t, row);
|
const TapNote &tn = in.GetTapNote(t, row);
|
||||||
if( tn.type == TapNote::empty || tn.type == TapNote::mine)
|
if( tn.type == TapNote::empty || tn.type == TapNote::mine )
|
||||||
continue;
|
continue;
|
||||||
score = min( score, tn.result.tns );
|
score = min( score, tn.result.tns );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user