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
@@ -221,7 +221,7 @@ void NoteField::DrawPrimitives()
/////////////////////////////////
for( int i=0; i<m_iNumHoldNotes; i++ )
{
HoldNote &hn = m_HoldNotes[i];
const HoldNote &hn = GetHoldNote(i);
HoldNoteScore &hns = m_HoldNoteScores[i];
const float fLife = m_fHoldNoteLife[i];
const bool bIsHoldingNote = m_bIsHoldingHoldNote[i]; // hack: added -1 because hn.m_iStartIndex changes as note is held