From 3b367b003e0d584d6225243f581576050ccfe6db Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 6 Dec 2003 08:50:05 +0000 Subject: [PATCH] fix "Attack.cpp:24 Assertion 'fEndBeat >= fStartBeat' failed" --- stepmania/src/Song.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 340ca95e0c..9c4ac9c277 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -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;