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:
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user