From 449b296133daca4640d45e4900e794e284e84b90 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 6 Sep 2003 01:20:03 +0000 Subject: [PATCH] Duplicate code. --- stepmania/src/ScoreKeeper5th.cpp | 10 ---------- stepmania/src/ScoreKeeperMAX2.cpp | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/stepmania/src/ScoreKeeper5th.cpp b/stepmania/src/ScoreKeeper5th.cpp index 7b38446e2d..39c829fd8f 100644 --- a/stepmania/src/ScoreKeeper5th.cpp +++ b/stepmania/src/ScoreKeeper5th.cpp @@ -61,16 +61,6 @@ ScoreKeeper5th::ScoreKeeper5th( const vector& apNotes_, const CStringArr } GAMESTATE->m_CurStageStats.iPossibleDancePoints[pn_] = iTotalPossibleDancePoints; - if( !GAMESTATE->IsCourseMode() ) - { - ASSERT( !apNotes.empty() ); - GAMESTATE->m_CurStageStats.pSong = GAMESTATE->m_pCurSong; - GAMESTATE->m_CurStageStats.iMeter[pn_] = apNotes[0]->GetMeter(); - } else { - GAMESTATE->m_CurStageStats.pSong = NULL; - } - - m_iScore = 0; m_iScoreRemainder = 0; diff --git a/stepmania/src/ScoreKeeperMAX2.cpp b/stepmania/src/ScoreKeeperMAX2.cpp index b7d3de6b8e..57421f11ef 100644 --- a/stepmania/src/ScoreKeeperMAX2.cpp +++ b/stepmania/src/ScoreKeeperMAX2.cpp @@ -65,16 +65,6 @@ ScoreKeeperMAX2::ScoreKeeperMAX2( const vector& apNotes_, const CStringA } GAMESTATE->m_CurStageStats.iPossibleDancePoints[pn_] = iTotalPossibleDancePoints; - if( !GAMESTATE->IsCourseMode() ) - { - ASSERT( !apNotes.empty() ); - GAMESTATE->m_CurStageStats.pSong = GAMESTATE->m_pCurSong; - GAMESTATE->m_CurStageStats.iMeter[pn_] = apNotes[0]->GetMeter(); - } else { - GAMESTATE->m_CurStageStats.pSong = NULL; - } - - m_iScore = 0; m_iCurToastyCombo = 0;