compile fixes

This commit is contained in:
Glenn Maynard
2005-09-12 17:49:53 +00:00
parent 6c2233fd03
commit 2822b320fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ int PlayerStageStats::GetLessonScoreNeeded() const
{ {
int iScore = 0; int iScore = 0;
FOREACH_CONST( const Steps*, vpPossibleSteps, steps ) FOREACH_CONST( Steps*, vpPossibleSteps, steps )
iScore += (*steps)->GetRadarValues().m_Values.v.fNumTapsAndHolds; iScore += (*steps)->GetRadarValues().m_Values.v.fNumTapsAndHolds;
iScore = (int)floorf( iScore * LESSON_PASS_THRESHOLD ); iScore = (int)floorf( iScore * LESSON_PASS_THRESHOLD );
+1 -1
View File
@@ -628,7 +628,7 @@ DateTime Profile::GetSongLastPlayedDateTime( const Song* pSong ) const
bool Profile::HasPassedAnyStepsInSong( 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 ); const HighScoreList &hsl = GetStepsHighScoreList( pSong, *steps );
Grade grade = hsl.GetTopScore().GetGrade(); Grade grade = hsl.GetTopScore().GetGrade();