[splittiming] Don't show warps on Song Timing.

This commit is contained in:
Jason Felds
2011-05-16 11:54:58 -04:00
parent b0788e4675
commit c0e53205ea
+8 -5
View File
@@ -873,13 +873,16 @@ void NoteField::DrawPrimitives()
} }
// Warp text // Warp text
FOREACH_CONST( WarpSegment, timing.m_WarpSegments, seg ) if( GAMESTATE->m_bIsEditorStepTiming )
{ {
if( seg->m_iStartRow >= iFirstRowToDraw && seg->m_iStartRow <= iLastRowToDraw ) FOREACH_CONST( WarpSegment, timing.m_WarpSegments, seg )
{ {
float fBeat = NoteRowToBeat(seg->m_iStartRow); if( seg->m_iStartRow >= iFirstRowToDraw && seg->m_iStartRow <= iLastRowToDraw )
if( IS_ON_SCREEN(fBeat) ) {
DrawWarpText( fBeat, seg->m_fLengthBeats ); float fBeat = NoteRowToBeat(seg->m_iStartRow);
if( IS_ON_SCREEN(fBeat) )
DrawWarpText( fBeat, seg->m_fLengthBeats );
}
} }
} }