Answer AJ's question. (comment update)

This commit is contained in:
Jason Felds
2011-03-14 01:34:10 -04:00
parent 3931a60f83
commit 1dfb1c6143
+2 -2
View File
@@ -569,8 +569,8 @@ float TimingData::GetElapsedTimeFromBeatNoOffset( float fBeat ) const
int iRow = BeatToNoteRow(fBeat); int iRow = BeatToNoteRow(fBeat);
for( unsigned j=0; j<m_StopSegments.size(); j++ ) // foreach freeze for( unsigned j=0; j<m_StopSegments.size(); j++ ) // foreach freeze
{ {
/* A traditional stop has the beat happening before the stop (>=) /* A traditional stop has the beat happening before the stop. (>=)
* A Pump delay acts differently. [aj: how?] (>) * A Pump delay acts differently: the pause is before the beat. (>)
*/ */
if( ( m_StopSegments[j].m_iStartRow >= iRow && !m_StopSegments[j].m_bDelay ) || if( ( m_StopSegments[j].m_iStartRow >= iRow && !m_StopSegments[j].m_bDelay ) ||
( m_StopSegments[j].m_iStartRow > iRow && m_StopSegments[j].m_bDelay ) ) ( m_StopSegments[j].m_iStartRow > iRow && m_StopSegments[j].m_bDelay ) )