Use the library.

This commit is contained in:
Jason Felds
2013-05-01 21:56:25 -04:00
parent f2dbe7ccdb
commit f8315d19f2
+1 -2
View File
@@ -707,8 +707,7 @@ void OptionRow::SetOneSelection( PlayerNumber pn, int iChoice )
vector<bool> &vb = m_vbSelected[pn];
if( vb.empty() )
return;
FOREACH( bool, vb, b )
*b = false;
std::fill_n(vb.begin(), vb.size(), false);
vb[iChoice] = true;
}