Skip to content

Commit

Permalink
Revert "serializenotedata doesn't need to use the slower external get…
Browse files Browse the repository at this point in the history
…tapnote function since it has the direct notedata available"

This reverts commit 2207d7d.
  • Loading branch information
MinaciousGrace committed Jun 15, 2017
1 parent 8480006 commit 595c2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NoteData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const vector<NoteInfo>& NoteData::SerializeNoteData(const vector<float>& etaner)
int rowNotes = 0;
for (size_t q = 0; q < tracks; q++)
{
if(m_TapNotes[q][NonEmptyRowVector[i]].IsNote())
if(GetTapNote(q, NonEmptyRowVector[i]).IsNote())
{
rowNotes |= 1 << q;
}
Expand All @@ -226,7 +226,7 @@ vector<NoteInfo2>& NoteData::SerializeNoteData2(const vector<float>& etaner) {
int rowNotes = 0;
for (size_t q = 0; q < tracks; q++)
{
if (m_TapNotes[q][NonEmptyRowVector[i]].IsNote())
if (GetTapNote(q, NonEmptyRowVector[i]).IsNote())
{
rowNotes |= 1 << q;
}
Expand Down

0 comments on commit 595c2b8

Please sign in to comment.