simplify
This commit is contained in:
@@ -470,11 +470,10 @@ void OptionRow::AfterImportOptions()
|
|||||||
m_vbSelected[p] = m_vbSelected[pnCopyFrom];
|
m_vbSelected[p] = m_vbSelected[pnCopyFrom];
|
||||||
}
|
}
|
||||||
|
|
||||||
FOREACH_PlayerNumber( p )
|
|
||||||
{
|
|
||||||
switch( m_pHand->m_Def.m_selectType )
|
switch( m_pHand->m_Def.m_selectType )
|
||||||
{
|
{
|
||||||
case SELECT_ONE:
|
case SELECT_ONE:
|
||||||
|
FOREACH_PlayerNumber( p )
|
||||||
{
|
{
|
||||||
/* Make sure the row actually has a selection. */
|
/* Make sure the row actually has a selection. */
|
||||||
int iSelection = GetOneSelection(p, true);
|
int iSelection = GetOneSelection(p, true);
|
||||||
@@ -486,7 +485,6 @@ void OptionRow::AfterImportOptions()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
ResetFocusFromSelection( p );
|
ResetFocusFromSelection( p );
|
||||||
|
|||||||
Reference in New Issue
Block a user