Modified NoteDataWithScoring::GetActualRadarValues to use the time between the first and last hittable notes instead of the first and last seconds of the song because the song could start or end with mines or other unhittable notes.

This commit is contained in:
Kyzentun
2015-04-08 20:15:18 -06:00
parent 8993cfe729
commit 60349d849e
2 changed files with 38 additions and 11 deletions
+2 -2
View File
@@ -1066,8 +1066,8 @@ void NoteDataUtil::CalculateRadarValues( const NoteData &in, float fSongSeconds,
// Lifts have to be counted with taps for them to be added to max dp
// correctly. -Kyz
case TapNoteType_Lift:
// HoldTails and Attacks are counted by IsTap. -Kyz
case TapNoteType_HoldTail:
// HoldTails and Attacks are counted by IsTap. But it doesn't
// make sense to count HoldTails as hittable notes. -Kyz
case TapNoteType_Attack:
++out[RadarCategory_Notes];
++state.num_notes_on_curr_row;