diff --git a/stepmania/src/PlayerStageStats.cpp b/stepmania/src/PlayerStageStats.cpp index 5bfd9265bf..9d0e8988f5 100644 --- a/stepmania/src/PlayerStageStats.cpp +++ b/stepmania/src/PlayerStageStats.cpp @@ -265,7 +265,7 @@ int PlayerStageStats::GetLessonScoreNeeded() const { int iScore = 0; - FOREACH_CONST( const Steps*, vpPossibleSteps, steps ) + FOREACH_CONST( Steps*, vpPossibleSteps, steps ) iScore += (*steps)->GetRadarValues().m_Values.v.fNumTapsAndHolds; iScore = (int)floorf( iScore * LESSON_PASS_THRESHOLD ); diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index d3335dc31f..b622626924 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -628,7 +628,7 @@ DateTime Profile::GetSongLastPlayedDateTime( const Song* pSong ) const bool Profile::HasPassedAnyStepsInSong( const Song* pSong ) const { - FOREACH_CONST( const Steps*, pSong->GetAllSteps(), steps ) + FOREACH_CONST( Steps*, pSong->GetAllSteps(), steps ) { const HighScoreList &hsl = GetStepsHighScoreList( pSong, *steps ); Grade grade = hsl.GetTopScore().GetGrade();