fix "Attack.cpp:24 Assertion 'fEndBeat >= fStartBeat' failed"
This commit is contained in:
@@ -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
|
// this BPMSegement is NOT the current segment
|
||||||
fElapsedTime -= fSecondsInThisSegment;
|
fElapsedTime -= fSecondsInThisSegment;
|
||||||
|
|||||||
Reference in New Issue
Block a user