fix feat score

This commit is contained in:
Chris Danford
2003-10-22 12:51:19 +00:00
parent bd585e46a1
commit 4556c0f246
2 changed files with 5 additions and 7 deletions
+4 -1
View File
@@ -822,7 +822,10 @@ void GameState::GetRankingFeats( PlayerNumber pn, vector<RankingFeats> &asFeatsO
feat.Feat = ssprintf("MR #%d in %s %s", j+1, pSong->GetTranslitMainTitle().c_str(), DifficultyToString(pSteps->GetDifficulty()).c_str() );
feat.pStringToFill = &vMachineHighScores[j].sName;
feat.g = vMachineHighScores[j].grade;
feat.Score = (float) vMachineHighScores[j].iScore;
if( PREFSMAN->m_bPercentageScoring )
feat.Score = vMachineHighScores[j].fPercentDP;
else
feat.Score = (float) vMachineHighScores[j].iScore;
// XXX: temporary hack
if( pSong->HasBackground() )