[sm5a2futures] Guess this was a mistake.
Always ensure an internal scoring system is in place to avoid these problems in the future. Note: replace the internal scoring system at some point to be simpler. Can't always rely on the old style formulas in C++.
This commit is contained in:
@@ -304,8 +304,7 @@ void ScoreKeeperNormal::AddScoreInternal( TapNoteScore score )
|
|||||||
int &iCurMaxScore = m_pPlayerStageStats->m_iCurMaxScore;
|
int &iCurMaxScore = m_pPlayerStageStats->m_iCurMaxScore;
|
||||||
|
|
||||||
// See Aaron In Japan for more details about the scoring formulas.
|
// See Aaron In Japan for more details about the scoring formulas.
|
||||||
if( GAMESTATE->IsCourseMode() )
|
// Note: this assumes no custom scoring systems are in use.
|
||||||
{
|
|
||||||
int p = 0; // score multiplier
|
int p = 0; // score multiplier
|
||||||
|
|
||||||
switch( score )
|
switch( score )
|
||||||
@@ -360,12 +359,6 @@ void ScoreKeeperNormal::AddScoreInternal( TapNoteScore score )
|
|||||||
}
|
}
|
||||||
iCurMaxScore += m_iPointBonus;
|
iCurMaxScore += m_iPointBonus;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// Custom Scoring
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ASSERT_M( iScore >= 0, "iScore < 0 before re-rounding" );
|
ASSERT_M( iScore >= 0, "iScore < 0 before re-rounding" );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user