easier debugging
This commit is contained in:
@@ -118,8 +118,11 @@ void ScreenOptionsMaster::ExportOptions( int r, const vector<PlayerNumber> &vpns
|
|||||||
OptionRow &row = *m_Rows[r];
|
OptionRow &row = *m_Rows[r];
|
||||||
bool bRowHasFocus[NUM_PLAYERS];
|
bool bRowHasFocus[NUM_PLAYERS];
|
||||||
ZERO( bRowHasFocus );
|
ZERO( bRowHasFocus );
|
||||||
FOREACH_CONST( PlayerNumber, vpns, pn )
|
FOREACH_CONST( PlayerNumber, vpns, p )
|
||||||
bRowHasFocus[*pn] = m_iCurrentRow[*pn] == r;
|
{
|
||||||
|
int iCurRow = m_iCurrentRow[*p];
|
||||||
|
bRowHasFocus[*p] = iCurRow == r;
|
||||||
|
}
|
||||||
m_iChangeMask |= row.ExportOptions( vpns, bRowHasFocus );
|
m_iChangeMask |= row.ExportOptions( vpns, bRowHasFocus );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user