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
+1 -6
View File
@@ -185,14 +185,9 @@ ScreenEvaluation::ScreenEvaluation( CString sClassName ) : Screen(sClassName)
case stage:
{
ASSERT( GAMESTATE->m_pCurNotes[p] );
int score;
if( PREFSMAN->m_bPercentageScoring )
score = stageStats.GetPercentDancePoints( (PlayerNumber)p );
else
score = stageStats.iScore[p] + stageStats.iBonus[p];
Steps::MemCardData::HighScore hs;
hs.grade = grade[p];
hs.iScore = score;
hs.iScore = stageStats.iScore[p] + stageStats.iBonus[p];
hs.fPercentDP = stageStats.GetPercentDancePoints( (PlayerNumber)p );
GAMESTATE->m_pCurNotes[p]->AddHighScore( (PlayerNumber)p, hs, iPersonalHighScoreIndex[p], iMachineHighScoreIndex[p] );