From d6940de549df05c79b7ea6e4459db2295b1bf596 Mon Sep 17 00:00:00 2001 From: Chris Gomez Date: Sat, 8 Feb 2003 10:50:43 +0000 Subject: [PATCH] let debug builds cheat and gain score/combo with autoplay (useful for er, debugging score and extra stage stuff) --- stepmania/src/Player.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index b25cb52854..32fa741632 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -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);