compile fixes
This commit is contained in:
@@ -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 );
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user