fix scores not appearing (post-alpha 20 regression)

This commit is contained in:
Glenn Maynard
2004-06-08 08:03:49 +00:00
parent 501b417f0f
commit ee87baa6cf
-2
View File
@@ -1167,7 +1167,6 @@ void ScreenSelectMusic::AfterStepsChange( PlayerNumber pn )
int iScore = 0;
if( pSteps )
{
int iScore = 0;
Profile* pProfile = PROFILEMAN->IsUsingProfile(pn) ? PROFILEMAN->GetProfile(pn) : PROFILEMAN->GetMachineProfile();
iScore = pProfile->GetStepsHighScoreList(pSong,pSteps).GetTopScore().iScore;
}
@@ -1207,7 +1206,6 @@ void ScreenSelectMusic::AfterTrailChange( PlayerNumber pn )
int iScore = 0;
if( pTrail )
{
int iScore = 0;
Profile* pProfile = PROFILEMAN->IsUsingProfile(pn) ? PROFILEMAN->GetProfile(pn) : PROFILEMAN->GetMachineProfile();
iScore = pProfile->GetCourseHighScoreList(pCourse,pTrail).GetTopScore().iScore;
}