Fix g++ warnings.
This commit is contained in:
+2
-2
@@ -572,8 +572,8 @@ float TimingData::GetElapsedTimeFromBeatNoOffset( float fBeat ) const
|
||||
/* A traditional stop has the beat happening before the stop (>=)
|
||||
* A Pump delay acts differently. [aj: how?] (>)
|
||||
*/
|
||||
if( m_StopSegments[j].m_iStartRow >= iRow && !m_StopSegments[j].m_bDelay ||
|
||||
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 ) )
|
||||
break;
|
||||
fElapsedTime += m_StopSegments[j].m_fStopSeconds;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user