Use a map for hold grades, so it doesn't get desynced if the number
of hold notes changes.
This commit is contained in:
@@ -517,8 +517,8 @@ void NoteField::DrawPrimitives()
|
||||
for( i=0; i < GetNumHoldNotes(); i++ )
|
||||
{
|
||||
const HoldNote &hn = GetHoldNote(i);
|
||||
const HoldNoteScore hns = GetHoldNoteScore(i);
|
||||
const float fLife = GetHoldNoteLife(i);
|
||||
const HoldNoteScore hns = GetHoldNoteScore( hn );
|
||||
const float fLife = GetHoldNoteLife( hn );
|
||||
const bool bIsHoldingNote = (i < int(m_bIsHoldingHoldNote.size()))?
|
||||
m_bIsHoldingHoldNote[i]: false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user