clean up Course score saving (use Trail)

This commit is contained in:
Chris Danford
2004-05-23 09:17:10 +00:00
parent cd93cb4347
commit 4ff8b8ec2b
16 changed files with 210 additions and 48 deletions
+2 -1
View File
@@ -416,7 +416,8 @@ void ScreenSelectCourse::AfterCourseChange()
* have an opinion on which should be used here for
* each of oni, endless, nonstop --
* should this choice be an option or a metric? */
const HighScoreList& hsl = pProfile->GetCourseHighScoreList( pCourse, st, cd );
Trail *pTrail = pCourse->GetTrail( st, cd );
const HighScoreList& hsl = pProfile->GetCourseHighScoreList( pCourse, pTrail );
if ( pCourse->IsOni() || pCourse->IsEndless() )
{
/* use survive time */