Deal with corner case.

The hardcoded 600 will soon become a metric.
This commit is contained in:
Jason Felds
2011-07-03 13:35:00 -04:00
parent b9e267c0b0
commit 1574de2c25
3 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ void Player::Init(
// if the BPMs are < 0, reset and get the actual values.
if( !bpms.IsSecret() )
{
fMaxBPM = bpms.GetMax();
fMaxBPM = bpms.GetMaxWithin(600);
fMaxBPM = max( 0, fMaxBPM );
}