don't rescale RADAR_NUM_* down in GetFinalEvalStatsAndSongs
This commit is contained in:
@@ -966,11 +966,11 @@ void GameState::GetFinalEvalStatsAndSongs( StageStats& statsOut, vector<Song*>&
|
||||
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user