more accessors

This commit is contained in:
Glenn Maynard
2002-12-17 23:09:10 +00:00
parent eefed065cc
commit 43c50bda83
3 changed files with 29 additions and 13 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ void NoteField::DrawPrimitives()
for( i=0; i < GetNumHoldNotes(); i++ )
{
const HoldNote &hn = GetHoldNote(i);
HoldNoteScore &hns = m_HoldNoteScores[i];
const float fLife = m_fHoldNoteLife[i];
HoldNoteScore &hns = GetHoldNoteScore(i);
const float fLife = GetHoldNoteLife(i);
const bool bIsHoldingNote = m_bIsHoldingHoldNote[i]; // hack: added -1 because hn.m_iStartIndex changes as note is held
if( hns == HNS_OK ) // if this HoldNote was completed