easier debugging

This commit is contained in:
Chris Danford
2005-04-21 19:53:37 +00:00
parent a34efae641
commit 0ea93e427b
+5 -2
View File
@@ -118,8 +118,11 @@ void ScreenOptionsMaster::ExportOptions( int r, const vector<PlayerNumber> &vpns
OptionRow &row = *m_Rows[r];
bool bRowHasFocus[NUM_PLAYERS];
ZERO( bRowHasFocus );
FOREACH_CONST( PlayerNumber, vpns, pn )
bRowHasFocus[*pn] = m_iCurrentRow[*pn] == r;
FOREACH_CONST( PlayerNumber, vpns, p )
{
int iCurRow = m_iCurrentRow[*p];
bRowHasFocus[*p] = iCurRow == r;
}
m_iChangeMask |= row.ExportOptions( vpns, bRowHasFocus );
}