use GetNumHoldNotes

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