fix this up
fix hold dimming fix holds in play mode in the editor when the autoplay pref is on
This commit is contained in:
@@ -53,7 +53,7 @@ void NoteField::Load( NoteData* pNoteData, PlayerNumber pn, int iPixelsToDrawBeh
|
||||
|
||||
m_fPercentFadeToFail = -1;
|
||||
|
||||
NoteDataWithScoring::Init(pNoteData->GetNumTapNotes(), pNoteData->GetNumHoldNotes());
|
||||
NoteDataWithScoring::Init();
|
||||
|
||||
m_bIsHoldingHoldNote.clear();
|
||||
m_bIsHoldingHoldNote.insert(m_bIsHoldingHoldNote.end(), pNoteData->GetNumTapNotes(), false);
|
||||
@@ -220,7 +220,7 @@ void NoteField::DrawPrimitives()
|
||||
for( i=0; i < GetNumHoldNotes(); i++ )
|
||||
{
|
||||
const HoldNote &hn = GetHoldNote(i);
|
||||
HoldNoteScore &hns = GetHoldNoteScore(i);
|
||||
const 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user