diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 0582a900e7..8f049f0a4c 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -966,11 +966,11 @@ void GameState::GetFinalEvalStatsAndSongs( StageStats& statsOut, vector& if(!vSongsOut.size()) return; - /* XXX: I have no idea if this is correct--but it's better than overflowing, - * anyway. -glenn */ + /* Scale radar percentages back down to roughly 0..1. Don't scale RADAR_NUM_TAPS_AND_HOLDS + * and the rest, which are counters. */ FOREACH_EnabledPlayer( p ) { - for( int r = 0; r < NUM_RADAR_CATEGORIES; r++) + for( int r = 0; r < RADAR_NUM_TAPS_AND_HOLDS; r++) { statsOut.fRadarPossible[p][r] /= vSongsOut.size(); statsOut.fRadarActual[p][r] /= vSongsOut.size();