From eb8a3823613e2f8e6f4ce5459fa710ac5d4d1af0 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 12 Jun 2004 03:14:40 +0000 Subject: [PATCH] remove unnecessary hack to fix "bad set of CurStyle on Download Machine Stats" --- stepmania/src/ProfileHtml.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stepmania/src/ProfileHtml.cpp b/stepmania/src/ProfileHtml.cpp index c7e771ec7f..af65b13e39 100644 --- a/stepmania/src/ProfileHtml.cpp +++ b/stepmania/src/ProfileHtml.cpp @@ -883,11 +883,6 @@ bool PrintPercentCompleteForStepsType( RageFile &f, const Profile *pProfile, Ste if( pTrail ) { TranslatedWrite(f,""); - /* 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();