No cheating.

This commit is contained in:
Steve Checkoway
2007-04-08 22:40:30 +00:00
parent 344ca94b8b
commit 8e2e7aefb9
+5 -5
View File
@@ -2382,7 +2382,7 @@ void Player::RandomizeNotes( int iNoteRow )
void Player::HandleTapRowScore( unsigned row ) void Player::HandleTapRowScore( unsigned row )
{ {
bool bNoCheating = 0;//true; bool bNoCheating = true;
#ifdef DEBUG #ifdef DEBUG
bNoCheating = false; bNoCheating = false;
#endif #endif
@@ -2525,15 +2525,15 @@ void Player::HandleHoldScore( const TapNote &tn )
{ {
HoldNoteScore holdScore = tn.HoldResult.hns; HoldNoteScore holdScore = tn.HoldResult.hns;
TapNoteScore tapScore = tn.result.tns; TapNoteScore tapScore = tn.result.tns;
bool NoCheating = 0;//true; bool bNoCheating = true;
#ifdef DEBUG #ifdef DEBUG
NoCheating = false; bNoCheating = false;
#endif #endif
if( GAMESTATE->m_bDemonstrationOrJukebox ) if( GAMESTATE->m_bDemonstrationOrJukebox )
NoCheating = false; bNoCheating = false;
// don't accumulate points if AutoPlay is on. // don't accumulate points if AutoPlay is on.
if( NoCheating && m_pPlayerState->m_PlayerController == PC_AUTOPLAY ) if( bNoCheating && m_pPlayerState->m_PlayerController == PC_AUTOPLAY )
return; return;
if( m_pPrimaryScoreKeeper ) if( m_pPrimaryScoreKeeper )