GetCurrentStyle
This commit is contained in:
@@ -895,7 +895,7 @@ bool GameState::IsHumanPlayer( PlayerNumber pn ) const
|
|||||||
if( pn == PLAYER_INVALID )
|
if( pn == PLAYER_INVALID )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if( m_pCurStyle == NULL ) // no style chosen
|
if( GetCurrentStyle() == NULL ) // no style chosen
|
||||||
{
|
{
|
||||||
if( PlayersCanJoin() )
|
if( PlayersCanJoin() )
|
||||||
return m_bSideIsJoined[pn]; // only allow input from sides that have already joined
|
return m_bSideIsJoined[pn]; // only allow input from sides that have already joined
|
||||||
|
|||||||
Reference in New Issue
Block a user