fix up DQ; CurStageStats changes didn't interact well with it

This commit is contained in:
Glenn Maynard
2007-04-25 20:00:18 +00:00
parent 9ed7cf25f3
commit 643cadbbe0
6 changed files with 23 additions and 22 deletions
+2 -2
View File
@@ -122,13 +122,13 @@ void ScreenPlayerOptions::UpdateDisqualified( int row, PlayerNumber pn )
// save original player options
PlayerOptions poOrig = GAMESTATE->m_pPlayerState[pn]->m_PlayerOptions.GetPreferred();
// Find out if the current row when exprorted causes disqualification.
// Find out if the current row when exported causes disqualification.
// Exporting the row will fill GAMESTATE->m_PlayerOptions.
PO_GROUP_CALL( GAMESTATE->m_pPlayerState[pn]->m_PlayerOptions, ModsLevel_Preferred, Init );
vector<PlayerNumber> v;
v.push_back( pn );
ExportOptions( row, v );
bool bRowCausesDisqualified = GAMESTATE->IsDisqualified( pn );
bool bRowCausesDisqualified = GAMESTATE->CurrentOptionsDisqualifyPlayer( pn );
m_bRowCausesDisqualified[pn][row] = bRowCausesDisqualified;
// Update disqualified graphic