fix scores not appearing (post-alpha 20 regression)
This commit is contained in:
@@ -1167,7 +1167,6 @@ void ScreenSelectMusic::AfterStepsChange( PlayerNumber pn )
|
|||||||
int iScore = 0;
|
int iScore = 0;
|
||||||
if( pSteps )
|
if( pSteps )
|
||||||
{
|
{
|
||||||
int iScore = 0;
|
|
||||||
Profile* pProfile = PROFILEMAN->IsUsingProfile(pn) ? PROFILEMAN->GetProfile(pn) : PROFILEMAN->GetMachineProfile();
|
Profile* pProfile = PROFILEMAN->IsUsingProfile(pn) ? PROFILEMAN->GetProfile(pn) : PROFILEMAN->GetMachineProfile();
|
||||||
iScore = pProfile->GetStepsHighScoreList(pSong,pSteps).GetTopScore().iScore;
|
iScore = pProfile->GetStepsHighScoreList(pSong,pSteps).GetTopScore().iScore;
|
||||||
}
|
}
|
||||||
@@ -1207,7 +1206,6 @@ void ScreenSelectMusic::AfterTrailChange( PlayerNumber pn )
|
|||||||
int iScore = 0;
|
int iScore = 0;
|
||||||
if( pTrail )
|
if( pTrail )
|
||||||
{
|
{
|
||||||
int iScore = 0;
|
|
||||||
Profile* pProfile = PROFILEMAN->IsUsingProfile(pn) ? PROFILEMAN->GetProfile(pn) : PROFILEMAN->GetMachineProfile();
|
Profile* pProfile = PROFILEMAN->IsUsingProfile(pn) ? PROFILEMAN->GetProfile(pn) : PROFILEMAN->GetMachineProfile();
|
||||||
iScore = pProfile->GetCourseHighScoreList(pCourse,pTrail).GetTopScore().iScore;
|
iScore = pProfile->GetCourseHighScoreList(pCourse,pTrail).GetTopScore().iScore;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user