Combo cleanup

This commit is contained in:
Glenn Maynard
2005-02-26 05:45:51 +00:00
parent 5eae214f20
commit a1dcbca654
3 changed files with 56 additions and 32 deletions
+3 -2
View File
@@ -152,6 +152,9 @@ void Player::Init(
m_soundMine.SetParams( p );
m_soundAttackLaunch.SetParams( p );
m_soundAttackEnding.SetParams( p );
m_Combo.SetName( "Combo" );
m_Combo.Load( pn );
}
void Player::Load( const NoteData& noteData )
@@ -178,8 +181,6 @@ void Player::Load( const NoteData& noteData )
* then we could just this->StopTweening()? -glenn */
m_Judgment.StopTweening();
// m_Combo.Reset(); // don't reset combos between songs in a course!
m_Combo.SetName( "Combo" );
m_Combo.Init( pn );
if( m_pPlayerStageStats )
m_Combo.SetCombo( m_pPlayerStageStats->iCurCombo, m_pPlayerStageStats->iCurMissCombo ); // combo can persist between songs and games
m_AttackDisplay.Init( m_pPlayerState );