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?
This commit is contained in:
Chris Gomez
2003-02-08 10:56:55 +00:00
parent d6940de549
commit c0c225806b
+2
View File
@@ -48,12 +48,14 @@ Combo::Combo()
void Combo::UpdateScore( TapNoteScore score, int iNumNotesInThisRow ) void Combo::UpdateScore( TapNoteScore score, int iNumNotesInThisRow )
{ {
#ifndef DEBUG
if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration ) // cheaters never prosper if( PREFSMAN->m_bAutoPlay && !GAMESTATE->m_bDemonstration ) // cheaters never prosper
{ {
m_iCurCombo = 0; m_iCurCombo = 0;
m_iCurComboOfPerfects = 0; m_iCurComboOfPerfects = 0;
return; return;
} }
#endif //DEBUG
// combo of marvelous/perfect // combo of marvelous/perfect
switch( score ) switch( score )