Fix g++ warnings.

This commit is contained in:
Jason Felds
2011-03-14 01:21:30 -04:00
parent 8055d162fd
commit 4d074f3b81
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
}