adding SetCombo part 2 of 3. i'm lazy now
This commit is contained in:
@@ -27,6 +27,7 @@ Grade GetGradeFromPercent( float fPercent );
|
|||||||
|
|
||||||
void PlayerStageStats::Init()
|
void PlayerStageStats::Init()
|
||||||
{
|
{
|
||||||
|
m_bPlayerCanAchieveFullCombo = true;
|
||||||
m_bJoined = false;
|
m_bJoined = false;
|
||||||
m_vpPossibleSteps.clear();
|
m_vpPossibleSteps.clear();
|
||||||
m_iStepsPlayed = 0;
|
m_iStepsPlayed = 0;
|
||||||
@@ -516,6 +517,10 @@ bool PlayerStageStats::FullComboOfScore( TapNoteScore tnsAllGreaterOrEqual ) con
|
|||||||
ASSERT( tnsAllGreaterOrEqual >= TNS_W5 );
|
ASSERT( tnsAllGreaterOrEqual >= TNS_W5 );
|
||||||
ASSERT( tnsAllGreaterOrEqual <= TNS_W1 );
|
ASSERT( tnsAllGreaterOrEqual <= TNS_W1 );
|
||||||
|
|
||||||
|
//if we've set MissCombo to anything besides 0, it's not a full combo
|
||||||
|
if( !m_bPlayerCanAchieveFullCombo )
|
||||||
|
return false;
|
||||||
|
|
||||||
// If missed any holds, then it's not a full combo
|
// If missed any holds, then it's not a full combo
|
||||||
if( m_iHoldNoteScores[HNS_LetGo] > 0 )
|
if( m_iHoldNoteScores[HNS_LetGo] > 0 )
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user