DQ on give up to prevent unlock cheating
This commit is contained in:
@@ -1084,6 +1084,9 @@ bool GameState::IsDisqualified( PlayerNumber pn )
|
|||||||
if( !GAMESTATE->IsHumanPlayer(pn) )
|
if( !GAMESTATE->IsHumanPlayer(pn) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if( STATSMAN->m_CurStageStats.bGaveUp )
|
||||||
|
return true;
|
||||||
|
|
||||||
const PlayerOptions &po = GAMESTATE->m_pPlayerState[pn]->m_StoredPlayerOptions;
|
const PlayerOptions &po = GAMESTATE->m_pPlayerState[pn]->m_StoredPlayerOptions;
|
||||||
|
|
||||||
// Check the stored player options for disqualify. Don't disqualify because
|
// Check the stored player options for disqualify. Don't disqualify because
|
||||||
|
|||||||
Reference in New Issue
Block a user