reset m_iChoiceInRowWithFocus in ChoicesChanged

This commit is contained in:
Glenn Maynard
2006-01-19 00:24:51 +00:00
parent c780377085
commit b669b72702
+4
View File
@@ -202,6 +202,10 @@ void OptionRow::ChoicesChanged()
m_vbSelected[p].insert( m_vbSelected[p].begin(), false );
}
/* When choices change, the old focus position is meaningless; reset it. */
FOREACH_PlayerNumber( p )
m_iChoiceInRowWithFocus[p] = 0;
InitText();
}