[sm130score] Cleanup, lua prep.

This commit is contained in:
Jason Felds
2011-04-10 02:31:29 -04:00
parent 4c1cb1f85f
commit 9af85b48b1
2 changed files with 26 additions and 6 deletions
+3 -3
View File
@@ -236,11 +236,11 @@ void ScoreKeeperNormal::OnNextSong( int iSongInCourseIndex, const Steps* pSteps,
m_iMaxPossiblePoints = (iMeter * iLengthMultiplier + 1) * 5000000;
break;
case SCORING_CUSTOM:
/* This is just simple additive/subtractive scoring, but cap the
* score at the size of the score counter */
/* This is no longer just simple additive/subtractive scoring,
* but start with capping the score at the size of the score counter. */
m_iMaxPossiblePoints = 10 * 10000000 * iLengthMultiplier;
break;
DEFAULT_FAIL( int(PREFSMAN->m_ScoringType) );
DEFAULT_FAIL( static_cast<int>(PREFSMAN->m_ScoringType) );
}
}
ASSERT( m_iMaxPossiblePoints >= 0 );