let debug builds cheat and gain score/combo with autoplay (useful for er, debugging score and extra stage stuff)

This commit is contained in:
Chris Gomez
2003-02-08 10:50:43 +00:00
parent ac8d140c3f
commit d6940de549
+4
View File
@@ -608,9 +608,11 @@ void Player::HandleNoteScore( TapNoteScore score, int iNumTapsInRow )
{
ASSERT( iNumTapsInRow >= 1 );
#ifndef DEBUG
// don't accumulate points if AutoPlay is on.
if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration )
return;
#endif //DEBUG
if(m_ScoreKeeper)
m_ScoreKeeper->HandleNoteScore(score, iNumTapsInRow);
@@ -627,9 +629,11 @@ void Player::HandleNoteScore( TapNoteScore score, int iNumTapsInRow )
void Player::HandleHoldNoteScore( HoldNoteScore score, TapNoteScore TapNoteScore )
{
#ifndef DEBUG
// don't accumulate points if AutoPlay is on.
if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration )
return;
#endif //DEBUG
if(m_ScoreKeeper) {
m_ScoreKeeper->HandleHoldNoteScore(score, TapNoteScore);