fix assert if P2 doesn't match any options and P1 is active
This commit is contained in:
@@ -158,14 +158,14 @@ public:
|
||||
}
|
||||
void ImportOption( const vector<PlayerNumber> &vpns, vector<bool> vbSelectedOut[NUM_PLAYERS] ) const
|
||||
{
|
||||
int iFallbackOption = -1;
|
||||
bool bUseFallbackOption = true;
|
||||
|
||||
FOREACH_CONST( PlayerNumber, vpns, pn )
|
||||
{
|
||||
PlayerNumber p = *pn;
|
||||
vector<bool> &vbSelOut = vbSelectedOut[p];
|
||||
|
||||
int iFallbackOption = -1;
|
||||
bool bUseFallbackOption = true;
|
||||
|
||||
for( unsigned e = 0; e < m_aListEntries.size(); ++e )
|
||||
{
|
||||
const GameCommand &mc = m_aListEntries[e];
|
||||
|
||||
Reference in New Issue
Block a user