From 41197493b4c1a2fbe7a13a6c9f0d099a60d1d58f Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 25 Apr 2006 00:40:16 +0000 Subject: [PATCH] DQ on give up to prevent unlock cheating --- stepmania/src/GameState.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 789c668fc4..90572889b8 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1084,6 +1084,9 @@ bool GameState::IsDisqualified( PlayerNumber pn ) if( !GAMESTATE->IsHumanPlayer(pn) ) return false; + if( STATSMAN->m_CurStageStats.bGaveUp ) + return true; + const PlayerOptions &po = GAMESTATE->m_pPlayerState[pn]->m_StoredPlayerOptions; // Check the stored player options for disqualify. Don't disqualify because