floating-point scores

This commit is contained in:
Glenn Maynard
2003-10-12 21:51:02 +00:00
parent 607666d330
commit 4c5b32db02
5 changed files with 31 additions and 24 deletions
+4 -4
View File
@@ -900,12 +900,12 @@ void ScreenSelectMusic::AfterNotesChange( PlayerNumber pn )
if( pNotes )
{
int iScore;
float fScore;
if( PROFILEMAN->IsUsingProfile(pn) )
iScore = pNotes->m_MemCardScores[pn].iScore;
fScore = pNotes->m_MemCardScores[pn].fScore;
else
iScore = pNotes->m_MemCardScores[MEMORY_CARD_MACHINE].iScore;
m_textHighScore[pn].SetText( ssprintf("%*i", NUM_SCORE_DIGITS, iScore) );
fScore = pNotes->m_MemCardScores[MEMORY_CARD_MACHINE].fScore;
m_textHighScore[pn].SetText( ssprintf("%*i", NUM_SCORE_DIGITS, (int) fScore) );
}
else
{