parse for multiselect flag
This commit is contained in:
@@ -69,8 +69,13 @@ void ScreenOptionsMaster::SetList( OptionRowData &row, OptionRowHandler &hand, C
|
|||||||
|
|
||||||
row.bOneChoiceForAllPlayers = false;
|
row.bOneChoiceForAllPlayers = false;
|
||||||
const int NumCols = atoi( asParts[0] );
|
const int NumCols = atoi( asParts[0] );
|
||||||
if( asParts.size() > 1 )
|
for( int i=0; i<asParts.size(); i++ )
|
||||||
row.bOneChoiceForAllPlayers = !asParts[1].CompareNoCase("together");
|
{
|
||||||
|
if( asParts[i].CompareNoCase("together") == 0 )
|
||||||
|
row.bOneChoiceForAllPlayers = true;
|
||||||
|
else if( asParts[i].CompareNoCase("multiselect") == 0 )
|
||||||
|
row.bMultiSelect = true;
|
||||||
|
}
|
||||||
|
|
||||||
for( int col = 0; col < NumCols; ++col )
|
for( int col = 0; col < NumCols; ++col )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user