Fakes too.

This commit is contained in:
Jason Felds
2013-02-05 17:03:36 -05:00
parent 0e494a3b44
commit 28708187c9
+4
View File
@@ -247,6 +247,10 @@ bool TimingData::IsFakeAtRow( int iNoteRow ) const
return false;
int i = GetSegmentIndexAtRow( SEGMENT_FAKE, iNoteRow );
if (i == -1)
{
return false;
}
const FakeSegment *s = ToFake(fakes[i]);
float beatRow = NoteRowToBeat(iNoteRow);
if( s->GetBeat() <= beatRow && beatRow < ( s->GetBeat() + s->GetLength() ) )