Merge pull request #39 from kyzentun/miscounted_hold_points
Hold notes were added to possible score twice.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user