From 424e7c0bf0011a112e0983dfd7f506f276919f25 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 25 Apr 2007 21:21:50 +0000 Subject: [PATCH] cleanup --- stepmania/src/ProfileManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ProfileManager.cpp b/stepmania/src/ProfileManager.cpp index 75ac7e073d..97e03d510a 100644 --- a/stepmania/src/ProfileManager.cpp +++ b/stepmania/src/ProfileManager.cpp @@ -670,12 +670,12 @@ void ProfileManager::IncrementStepsPlayCount( const Song* pSong, const Steps* pS PROFILEMAN->GetMachineProfile()->IncrementStepsPlayCount( pSong, pSteps ); } -Grade ProfileManager::GetHighGradeForDifficulty( const Song *s, const Style *st, ProfileSlot slot, Difficulty dc ) const +Grade ProfileManager::GetHighGradeForDifficulty( const Song *pSong, const Style *st, ProfileSlot slot, Difficulty dc ) const { - const Steps* pSteps = SongUtil::GetStepsByDifficulty( s, st->m_StepsType, dc ); + const Steps* pSteps = SongUtil::GetStepsByDifficulty( pSong, st->m_StepsType, dc ); if( pSteps && PROFILEMAN->IsPersistentProfile(slot) ) - return PROFILEMAN->GetProfile(slot)->GetStepsHighScoreList(s,pSteps).HighGrade; + return PROFILEMAN->GetProfile(slot)->GetStepsHighScoreList(pSong, pSteps).HighGrade; return Grade_NoData; }