From 113c7b43ec8bd16e8d6c0b1c3f23b660c5aaee31 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 24 Feb 2004 23:40:28 +0000 Subject: [PATCH] fix timing when a freeze lies before or on the first BPM segment (Black Cat) --- stepmania/src/TimingData.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/TimingData.cpp b/stepmania/src/TimingData.cpp index 4163b94329..c227b669da 100644 --- a/stepmania/src/TimingData.cpp +++ b/stepmania/src/TimingData.cpp @@ -109,13 +109,14 @@ void TimingData::GetBeatAndBPSFromElapsedTime( float fElapsedTime, float &fBeatO for( unsigned i=0; i= m_StopSegments[j].m_fStartBeat ) + if( !bIsFirstBPMSegment && fStartBeatThisSegment >= m_StopSegments[j].m_fStartBeat ) continue; if( !bIsLastBPMSegment && m_StopSegments[j].m_fStartBeat > fStartBeatNextSegment ) continue;