cleanup
This commit is contained in:
@@ -202,15 +202,10 @@ void ScoreKeeper5th::AddScore( TapNoteScore score )
|
|||||||
|
|
||||||
// What does this do? "Don't use a multiplier if
|
// What does this do? "Don't use a multiplier if
|
||||||
// the player has failed"?
|
// the player has failed"?
|
||||||
// Also, why does this switch on score again instead
|
|
||||||
// of just adding p? -Chris
|
|
||||||
if( GAMESTATE->m_CurStageStats.bFailed[m_PlayerNumber] )
|
if( GAMESTATE->m_CurStageStats.bFailed[m_PlayerNumber] )
|
||||||
switch( score )
|
{
|
||||||
{
|
m_iScore += p;
|
||||||
case TNS_MARVELOUS: m_iScore += 10; break;
|
}
|
||||||
case TNS_PERFECT: m_iScore += MarvelousEnabled? 9:10; break;
|
|
||||||
case TNS_GREAT: m_iScore += 5; break;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_iScore += GetScore(p, B, sum, m_iTapNotesHit);
|
m_iScore += GetScore(p, B, sum, m_iTapNotesHit);
|
||||||
|
|||||||
@@ -33,11 +33,7 @@ ScoreKeeperMAX2::ScoreKeeperMAX2( const vector<Steps*>& apNotes_, const CStringA
|
|||||||
int iTotalPossibleDancePoints = 0;
|
int iTotalPossibleDancePoints = 0;
|
||||||
for( unsigned i=0; i<apNotes.size(); i++ )
|
for( unsigned i=0; i<apNotes.size(); i++ )
|
||||||
{
|
{
|
||||||
// Steps* pSteps = apNotes[0];
|
Steps* pSteps = apNotes[i];
|
||||||
Steps* pSteps = apNotes[i]; // this should reflect the
|
|
||||||
// song's steps since in oni mode all songs don't necessarily
|
|
||||||
// have the same number of steps
|
|
||||||
|
|
||||||
NoteData notedata;
|
NoteData notedata;
|
||||||
pSteps->GetNoteData( ¬edata );
|
pSteps->GetNoteData( ¬edata );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user