From 8e2e7aefb924fc6974e93a1ec394758a547bc725 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 8 Apr 2007 22:40:30 +0000 Subject: [PATCH] No cheating. --- stepmania/src/Player.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index d870f12f62..c85996f91b 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -2382,7 +2382,7 @@ void Player::RandomizeNotes( int iNoteRow ) void Player::HandleTapRowScore( unsigned row ) { - bool bNoCheating = 0;//true; + bool bNoCheating = true; #ifdef DEBUG bNoCheating = false; #endif @@ -2525,15 +2525,15 @@ void Player::HandleHoldScore( const TapNote &tn ) { HoldNoteScore holdScore = tn.HoldResult.hns; TapNoteScore tapScore = tn.result.tns; - bool NoCheating = 0;//true; + bool bNoCheating = true; #ifdef DEBUG - NoCheating = false; + bNoCheating = false; #endif if( GAMESTATE->m_bDemonstrationOrJukebox ) - NoCheating = false; + bNoCheating = false; // 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; if( m_pPrimaryScoreKeeper )