diff --git a/stepmania/src/NoteDataWithScoring.cpp b/stepmania/src/NoteDataWithScoring.cpp index 7aaee2b2ae..c8b6e1ee97 100644 --- a/stepmania/src/NoteDataWithScoring.cpp +++ b/stepmania/src/NoteDataWithScoring.cpp @@ -111,28 +111,34 @@ TapNoteScore NoteDataWithScoring::MinTapNoteScore(unsigned row) const } /* Return the last tap score of a row: the grade of the tap that completed - * the row. If the row isn't complete (not all taps have been hit), return - * TNS_MISS. */ -TapNoteScore NoteDataWithScoring::LastTapNoteScore(unsigned row) const + * the row. If the row isn't complete (not all taps have been hit), return -1. */ +int NoteDataWithScoring::LastTapNoteScoreTrack(unsigned row) const { - TapNoteScore score = TNS_MARVELOUS; float scoretime = -9999; + int best_track = -1; for( int t=0; t