[sm130futures] Use the macro or lose it.
This commit is contained in:
+4
-6
@@ -864,15 +864,13 @@ void NoteField::DrawPrimitives()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Label text
|
// Label text
|
||||||
const vector<LabelSegment> &lLabelSegments = GAMESTATE->m_pCurSong->m_Timing.m_LabelSegments;
|
FOREACH_CONST( LabelSegment, GAMESTATE->m_pCurSong->m_Timing.m_LabelSegments, seg )
|
||||||
for( unsigned i=0; i<lLabelSegments.size(); i++ )
|
|
||||||
{
|
{
|
||||||
if( lLabelSegments[i].m_iStartRow >= iFirstRowToDraw &&
|
if( seg->m_iStartRow >= iFirstRowToDraw && seg->m_iStartRow <= iLastRowToDraw )
|
||||||
lLabelSegments[i].m_iStartRow <= iLastRowToDraw)
|
|
||||||
{
|
{
|
||||||
float fBeat = NoteRowToBeat(lLabelSegments[i].m_iStartRow);
|
float fBeat = NoteRowToBeat(seg->m_iStartRow);
|
||||||
if( IS_ON_SCREEN(fBeat) )
|
if( IS_ON_SCREEN(fBeat) )
|
||||||
DrawLabelText( fBeat, lLabelSegments[i].m_sLabel );
|
DrawLabelText( fBeat, seg->m_sLabel );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user