DifficultyMeter: fudge a Difficulty from the Trail CourseDifficulty, not from the Trail's meter
This commit is contained in:
@@ -124,16 +124,13 @@ void DifficultyMeter::SetFromCourse( const Course* pCourse, PlayerNumber pn )
|
|||||||
|
|
||||||
// XXX metrics
|
// XXX metrics
|
||||||
Difficulty FakeDifficulty;
|
Difficulty FakeDifficulty;
|
||||||
if( meter <= 1 )
|
switch( cd )
|
||||||
FakeDifficulty = DIFFICULTY_BEGINNER;
|
{
|
||||||
else if( meter <= 3 )
|
case COURSE_DIFFICULTY_EASY: FakeDifficulty = DIFFICULTY_EASY; break;
|
||||||
FakeDifficulty = DIFFICULTY_EASY;
|
case COURSE_DIFFICULTY_REGULAR: FakeDifficulty = DIFFICULTY_MEDIUM; break;
|
||||||
else if( meter <= 6 )
|
case COURSE_DIFFICULTY_DIFFICULT: FakeDifficulty = DIFFICULTY_HARD; break;
|
||||||
FakeDifficulty = DIFFICULTY_MEDIUM;
|
default: ASSERT(0);
|
||||||
else if( meter <= 9 )
|
}
|
||||||
FakeDifficulty = DIFFICULTY_HARD;
|
|
||||||
else
|
|
||||||
FakeDifficulty = DIFFICULTY_CHALLENGE;
|
|
||||||
|
|
||||||
SetFromMeterAndDifficulty( meter, FakeDifficulty );
|
SetFromMeterAndDifficulty( meter, FakeDifficulty );
|
||||||
SetDifficulty( DifficultyToString(FakeDifficulty) + "Course" );
|
SetDifficulty( DifficultyToString(FakeDifficulty) + "Course" );
|
||||||
|
|||||||
Reference in New Issue
Block a user