fix "Attack.cpp:24 Assertion 'fEndBeat >= fStartBeat' failed"

This commit is contained in:
Glenn Maynard
2003-12-06 08:50:05 +00:00
parent 9f8aa01658
commit 3b367b003e
+1 -1
View File
@@ -210,7 +210,7 @@ void Song::GetBeatAndBPSFromElapsedTime( float fElapsedTime, float &fBeatOut, fl
}
if( fElapsedTime > fSecondsInThisSegment )
if( !bIsLastBPMSegment && fElapsedTime > fSecondsInThisSegment )
{
// this BPMSegement is NOT the current segment
fElapsedTime -= fSecondsInThisSegment;