make autoplay available everywhere but DQ if used

This commit is contained in:
Chris Danford
2006-04-25 02:35:55 +00:00
parent 329d1397c0
commit c6bddd9165
4 changed files with 14 additions and 24 deletions
+5
View File
@@ -1087,6 +1087,11 @@ bool GameState::IsDisqualified( PlayerNumber pn )
if( STATSMAN->m_CurStageStats.bGaveUp )
return true;
#ifndef DEBUG
if( STATSMAN->m_CurStageStats.bUsedAutoplay )
return true;
#endif //DEBUG
const PlayerOptions &po = GAMESTATE->m_pPlayerState[pn]->m_StoredPlayerOptions;
// Check the stored player options for disqualify. Don't disqualify because