Mark meter > 10 as meter = 10 for maniac/challenge steps

This commit is contained in:
Chris Gomez
2003-02-05 23:40:52 +00:00
parent 7238da2f90
commit c57f5e27a4
+9 -3
View File
@@ -131,9 +131,15 @@ void Notes::TidyUpData()
else if( GetMeter() <= 6 ) SetDifficulty(DIFFICULTY_MEDIUM);
else SetDifficulty(DIFFICULTY_HARD);
}
if( GetMeter() < 1 || GetMeter() > 10 ) // meter is invalid
// Meter is overflowing (invalid), but some files (especially maniac/smaniac steps) are purposefully set higher than 10.
// See: BMR's Gravity; we probably should keep those as difficult as we can represent.
if( GetMeter() >10 ) {
if( GetDifficulty() == DIFFICULTY_HARD || GetDifficulty() == DIFFICULTY_CHALLENGE)
SetMeter(10);
else
SetMeter(0);
}
if( GetMeter() < 1) // meter is invalid
{
// guess meter from difficulty class
switch( GetDifficulty() )