Allow combined player steps to have per-player radar values. This doesn't work for trails where it just uses the PLAYER_1 values, same with writing to the catalog file.

This commit is contained in:
Steve Checkoway
2006-07-28 03:34:14 +00:00
parent 1b1f2a9790
commit 884af552ee
16 changed files with 70 additions and 55 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ int PlayerStageStats::GetLessonScoreNeeded() const
float fScore = 0;
FOREACH_CONST( Steps*, vpPossibleSteps, steps )
fScore += (*steps)->GetRadarValues().m_Values.v.fNumTapsAndHolds;
fScore += (*steps)->GetRadarValues( PLAYER_1 ).m_Values.v.fNumTapsAndHolds;
return lrintf( fScore * LESSON_PASS_THRESHOLD );
}