This commit is contained in:
Glenn Maynard
2003-09-06 23:39:48 +00:00
parent 0860d0352c
commit f43bfac43a
2 changed files with 4 additions and 13 deletions
+3 -8
View File
@@ -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);
+1 -5
View File
@@ -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( &notedata ); pSteps->GetNoteData( &notedata );