From 356d8d96f5905d490fe577a053b7fce375cbd470 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 13 Mar 2007 06:39:59 +0000 Subject: [PATCH] do explosions during checkpoint only if all rows held --- stepmania/src/Player.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 5b79b9c4b1..24ea04c975 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -2252,6 +2252,13 @@ void Player::CrossedRows( int iFirstRowCrossed, int iLastRowCrossed, const RageT { m_pPlayerStageStats->m_iCurCombo++; m_pPlayerStageStats->m_iCurMissCombo = 0; + + FOREACH( int, viColsWithHold, i ) + { + bool bBright = m_pPlayerStageStats && m_pPlayerStageStats->m_iCurCombo>(int)BRIGHT_GHOST_COMBO_THRESHOLD; + if( m_pNoteField ) + m_pNoteField->DidHoldNote( *i, HNS_Held, bBright ); + } } else { @@ -2265,13 +2272,6 @@ void Player::CrossedRows( int iFirstRowCrossed, int iLastRowCrossed, const RageT SetCombo( m_pPlayerStageStats->m_iCurCombo, m_pPlayerStageStats->m_iCurMissCombo ); } } - - FOREACH( int, viColsWithHold, i ) - { - bool bBright = m_pPlayerStageStats && m_pPlayerStageStats->m_iCurCombo>(int)BRIGHT_GHOST_COMBO_THRESHOLD; - if( m_pNoteField ) - m_pNoteField->DidHoldNote( *i, HNS_Held, bBright ); - } } } }