make score in max2 scoring a multiple of 5 when failing
why? then it becomes more obvious when someone fails since their last digit switches between 0 and 5, rather than x and (x + 5) mod 10. note: this ONLY affects scores after failing and has no effect on scores that don't represent failing scores oh yea, simplified code a little
This commit is contained in:
@@ -217,12 +217,12 @@ void ScoreKeeperMAX2::AddScore( TapNoteScore score )
|
||||
// Also, why does this switch on score again instead
|
||||
// of just adding p? -Chris
|
||||
if( GAMESTATE->m_CurStageStats.bFailed[m_PlayerNumber] )
|
||||
switch( score )
|
||||
{
|
||||
case TNS_MARVELOUS: m_iScore += 10; break;
|
||||
case TNS_PERFECT: m_iScore += MarvelousEnabled? 9:10; break;
|
||||
case TNS_GREAT: m_iScore += 5; break;
|
||||
}
|
||||
{
|
||||
m_iScore += p;
|
||||
// make score evenly divisible by 5
|
||||
// only update this on the next step, to make it less *obvious*
|
||||
if (p > 0) m_iScore -= (m_iScore % 5);
|
||||
}
|
||||
else
|
||||
m_iScore += GetScore(p, B, sum, m_iTapNotesHit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user