Replace m_bPlayersCanJoin with PlayersCanJoin().
Move GetNumSidesJoined out of the header.
This commit is contained in:
@@ -116,11 +116,7 @@ void ModeChoice::Load( int iIndex, CString sChoice )
|
||||
{
|
||||
Style style = GAMEMAN->GameAndStringToStyle( GAMESTATE->m_CurGame, sValue );
|
||||
if( style != STYLE_INVALID )
|
||||
{
|
||||
m_style = style;
|
||||
// There is a choices that allows players to choose a style. Allow joining.
|
||||
GAMESTATE->m_bPlayersCanJoin = true;
|
||||
}
|
||||
else
|
||||
m_bInvalid |= true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user