From 8e947c7d0f2537b20518eda46729617c9550c22f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 10 Oct 2004 14:36:11 +0000 Subject: [PATCH] clean up IsEasy logic --- stepmania/src/Song.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 401a52af17..4a7a62e619 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -1109,10 +1109,11 @@ void Song::RemoveAutoGenNotes() bool Song::IsEasy( StepsType st ) const { - const Steps* pHardNotes = GetStepsByDifficulty( st, DIFFICULTY_HARD ); - - // HACK: Looks bizarre to see the easy mark by Legend of MAX. - if( pHardNotes && pHardNotes->GetMeter() > 9 ) + /* Very fast songs and songs with wide tempo changes are hard for new players, + * even if they have beginner steps. */ + DisplayBpms bpms; + this->GetDisplayBpms(bpms); + if( bpms.GetMax() >= 250 || bpms.GetMax() - bpms.GetMin() >= 75 ) return false; /* The easy marker indicates which songs a beginner, having selected "beginner",