use union in RadarValues for readability

This commit is contained in:
Chris Danford
2005-04-11 07:28:09 +00:00
parent 064fc27c7c
commit d7f4346cb7
3 changed files with 29 additions and 13 deletions
+1 -1
View File
@@ -603,7 +603,7 @@ static HighScore MakeRandomHighScore( float fPercentDP )
FOREACH_HoldNoteScore( hns )
hs.iHoldNoteScores[hns] = rand() % 100;
FOREACH_RadarCategory( rc )
hs.radarValues.m_fValues[rc] = randomf( 0, 1 );
hs.radarValues.m_Values.f[rc] = randomf( 0, 1 );
return hs;
}