Merge pull request #39 from kyzentun/miscounted_hold_points

Hold notes were added to possible score twice.
This commit is contained in:
Jason Felds
2014-02-14 19:13:47 -05:00
+1 -4
View File
@@ -586,13 +586,10 @@ void ScoreKeeperNormal::HandleHoldScore( const TapNote &tn )
// update dance points totals
if( !m_pPlayerStageStats->m_bFailed )
m_pPlayerStageStats->m_iActualDancePoints += HoldNoteScoreToDancePoints( holdScore );
// increment the current total possible dance score
m_pPlayerStageStats->m_iCurPossibleDancePoints += HoldNoteScoreToDancePoints( HNS_Held );
m_pPlayerStageStats->m_iHoldNoteScores[holdScore] ++;
// increment the current total possible dance score
m_pPlayerStageStats->m_iCurPossibleDancePoints += HoldNoteScoreToDancePoints( HNS_Held );
AddHoldScore( holdScore );
// TODO: Remove indexing with PlayerNumber