remove Course::HasCourseDifficulty

This commit is contained in:
Glenn Maynard
2004-06-03 21:51:33 +00:00
parent 184024d538
commit 8cbea03d58
4 changed files with 2 additions and 25 deletions
+1 -1
View File
@@ -1740,7 +1740,7 @@ bool GameState::ChangePreferredCourseDifficulty( PlayerNumber pn, int dir )
return false;
if( asDiff.find(cd) == asDiff.end() )
continue; /* not available */
if( !pCourse || pCourse->HasCourseDifficulty( GAMESTATE->GetCurrentStyleDef()->m_StepsType, cd ) )
if( !pCourse || pCourse->GetTrail( GAMESTATE->GetCurrentStyleDef()->m_StepsType, cd ) )
break;
}