From b074acc0cbbd7c870d4a4ea5c19ec8f2cde8486f Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 20 May 2011 10:52:11 -0400 Subject: [PATCH] Song timing can have warps again: show them. --- src/NoteField.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/NoteField.cpp b/src/NoteField.cpp index cdf67941c8..b687c88ce6 100644 --- a/src/NoteField.cpp +++ b/src/NoteField.cpp @@ -893,19 +893,17 @@ void NoteField::DrawPrimitives() } // Warp text - if( GAMESTATE->m_bIsUsingStepTiming ) + FOREACH_CONST( WarpSegment, timing.m_WarpSegments, seg ) { - FOREACH_CONST( WarpSegment, timing.m_WarpSegments, seg ) + if( seg->m_iStartRow >= iFirstRowToDraw && seg->m_iStartRow <= iLastRowToDraw ) { - if( seg->m_iStartRow >= iFirstRowToDraw && seg->m_iStartRow <= iLastRowToDraw ) - { - float fBeat = NoteRowToBeat(seg->m_iStartRow); - 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 ); } } + // Time Signature text FOREACH_CONST( TimeSignatureSegment, timing.m_vTimeSignatureSegments, seg ) {