Fixed bug in Song::GetElapsedSeconds from beat. Was causing problems with J-Paradise

This commit is contained in:
Chris Danford
2002-10-09 18:14:29 +00:00
parent 1e46506431
commit 8770a98106
+1 -1
View File
@@ -231,7 +231,7 @@ void Song::GetBeatAndBPSFromElapsedTime( float fElapsedTime, float &fBeatOut, fl
// so do a binary search to get close to the correct elapsed time.
float Song::GetElapsedTimeFromBeat( float fBeat ) const
{
float fElapsedTimeBestGuess = 100; // seconds
float fElapsedTimeBestGuess = this->m_fMusicLengthSeconds/2; // seconds
float fSecondsToMove = fElapsedTimeBestGuess; // seconds
float fBeatOut, fBPSOut;
bool bFreezeOut;