From c0c225806ba6f1ddcbc61f18fced27a1e782c657 Mon Sep 17 00:00:00 2001 From: Chris Gomez Date: Sat, 8 Feb 2003 10:56:55 +0000 Subject: [PATCH] let debug builds cheat and gain score/combo with autoplay (useful for er, debugging score and extra stage stuff) o.o how'd I manage to forget this one? --- stepmania/src/Combo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Combo.cpp b/stepmania/src/Combo.cpp index c29e08f855..07e7d53657 100644 --- a/stepmania/src/Combo.cpp +++ b/stepmania/src/Combo.cpp @@ -48,12 +48,14 @@ Combo::Combo() void Combo::UpdateScore( TapNoteScore score, int iNumNotesInThisRow ) { +#ifndef DEBUG if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration ) // cheaters never prosper { m_iCurCombo = 0; m_iCurComboOfPerfects = 0; return; } +#endif //DEBUG // combo of marvelous/perfect switch( score )