adding SetCombo part 2 of 3. i'm lazy now

This commit is contained in:
Flameshadowxeroshin
2012-03-27 22:40:46 +00:00
parent 74c59404b2
commit b932ed8b82
+5
View File
@@ -27,6 +27,7 @@ Grade GetGradeFromPercent( float fPercent );
void PlayerStageStats::Init()
{
m_bPlayerCanAchieveFullCombo = true;
m_bJoined = false;
m_vpPossibleSteps.clear();
m_iStepsPlayed = 0;
@@ -515,6 +516,10 @@ bool PlayerStageStats::FullComboOfScore( TapNoteScore tnsAllGreaterOrEqual ) con
{
ASSERT( tnsAllGreaterOrEqual >= TNS_W5 );
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( m_iHoldNoteScores[HNS_LetGo] > 0 )