remove unnecessary hack to fix "bad set of CurStyle on Download Machine Stats"
This commit is contained in:
@@ -883,11 +883,6 @@ bool PrintPercentCompleteForStepsType( RageFile &f, const Profile *pProfile, Ste
|
||||
if( pTrail )
|
||||
{
|
||||
TranslatedWrite(f,"<td>");
|
||||
/* HACK: Course::GetMeter() requires that a style be set, since
|
||||
* a course can have different meter values depending on which
|
||||
* style is set. */
|
||||
if( GAMESTATE->m_CurStyle == STYLE_INVALID )
|
||||
GAMESTATE->m_CurStyle = STYLE_DANCE_SINGLE;
|
||||
int iMeter = pTrail->GetMeter();
|
||||
TranslatedWrite(f, ssprintf("(%d)",iMeter) );
|
||||
HighScore hs = pProfile->GetCourseHighScoreList(pCourse,pTrail).GetTopScore();
|
||||
|
||||
Reference in New Issue
Block a user