improved Wide - prevents some nearly-impossible patterns

This commit is contained in:
Chris Danford
2003-03-16 01:47:08 +00:00
parent f93156f848
commit b2892caa4e
4 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ void Background::LoadFromSong( Song* pSong )
{
const BPMSegment& bpmseg = pSong->m_BPMSegments[i];
if( fmodf(bpmseg.m_fStartBeat, BEATS_PER_MEASURE) != 0 )
if( fmodf(bpmseg.m_fStartBeat, (float)BEATS_PER_MEASURE) != 0 )
continue; // skip
if( bpmseg.m_fStartBeat < fFirstBeat || bpmseg.m_fStartBeat > fLastBeat )