let debug builds cheat and gain score/combo with autoplay (useful for er, debugging score and extra stage stuff)
This commit is contained in:
@@ -608,9 +608,11 @@ void Player::HandleNoteScore( TapNoteScore score, int iNumTapsInRow )
|
|||||||
{
|
{
|
||||||
ASSERT( iNumTapsInRow >= 1 );
|
ASSERT( iNumTapsInRow >= 1 );
|
||||||
|
|
||||||
|
#ifndef DEBUG
|
||||||
// don't accumulate points if AutoPlay is on.
|
// don't accumulate points if AutoPlay is on.
|
||||||
if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration )
|
if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration )
|
||||||
return;
|
return;
|
||||||
|
#endif //DEBUG
|
||||||
|
|
||||||
if(m_ScoreKeeper)
|
if(m_ScoreKeeper)
|
||||||
m_ScoreKeeper->HandleNoteScore(score, iNumTapsInRow);
|
m_ScoreKeeper->HandleNoteScore(score, iNumTapsInRow);
|
||||||
@@ -627,9 +629,11 @@ void Player::HandleNoteScore( TapNoteScore score, int iNumTapsInRow )
|
|||||||
|
|
||||||
void Player::HandleHoldNoteScore( HoldNoteScore score, TapNoteScore TapNoteScore )
|
void Player::HandleHoldNoteScore( HoldNoteScore score, TapNoteScore TapNoteScore )
|
||||||
{
|
{
|
||||||
|
#ifndef DEBUG
|
||||||
// don't accumulate points if AutoPlay is on.
|
// don't accumulate points if AutoPlay is on.
|
||||||
if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration )
|
if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration )
|
||||||
return;
|
return;
|
||||||
|
#endif //DEBUG
|
||||||
|
|
||||||
if(m_ScoreKeeper) {
|
if(m_ScoreKeeper) {
|
||||||
m_ScoreKeeper->HandleHoldNoteScore(score, TapNoteScore);
|
m_ScoreKeeper->HandleHoldNoteScore(score, TapNoteScore);
|
||||||
|
|||||||
Reference in New Issue
Block a user