Skip to content

Commit

Permalink
account for mines hits in the dp rescore function
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Mar 19, 2017
1 parent 78ff27d commit 87e1a59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HighScore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ float HighScore::RescoreToDPJudge(int x) {
p += boo * -4;
p += miss * -8;
p += m_Impl->iHoldNoteScores[HNS_Held] * 6;
p += m_Impl->iTapNoteScores[TNS_HitMine] * -8;
p += (m_Impl->iHoldNoteScores[HNS_LetGo] + m_Impl->iHoldNoteScores[HNS_Missed]) * -6;

float m = static_cast<float>(m_Impl->vOffsetVector.size() * 2);
Expand Down

0 comments on commit 87e1a59

Please sign in to comment.