This commit is contained in:
Glenn Maynard
2005-04-25 11:45:16 +00:00
parent fb30fa1c19
commit 58d16fc4ad
+2 -1
View File
@@ -28,7 +28,8 @@ StageStats AccumStageStats( const vector<StageStats>& vss )
unsigned uNumSongs = ssreturn.vpPlayedSongs.size();
if( uNumSongs == 0 ) return ssreturn; // don't divide by 0 below
if( uNumSongs == 0 )
return ssreturn; // don't divide by 0 below
/* Scale radar percentages back down to roughly 0..1. Don't scale RADAR_NUM_TAPS_AND_HOLDS
* and the rest, which are counters. */