use GetHoldNote

This commit is contained in:
Glenn Maynard
2002-11-02 22:46:15 +00:00
parent 21e7c5801b
commit eec39d036d
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ int NoteDataWithScoring::GetNumHoldNotesWithScore( HoldNoteScore hns, const floa
for( int i=0; i<m_iNumHoldNotes; i++ )
{
HoldNote &hn = m_HoldNotes[i];
const HoldNote &hn = GetHoldNote(i);
if( fStartBeat <= hn.m_fStartBeat && hn.m_fEndBeat <= fEndBeat && m_HoldNoteScores[i] == hns )
iNumSuccessfulHolds++;
}