remove unnecessary hack to fix "bad set of CurStyle on Download Machine Stats"

This commit is contained in:
Chris Danford
2004-06-12 03:14:40 +00:00
parent d4ca0684f0
commit eb8a382361
-5
View File
@@ -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();