hack for ScreenHowToPlay where no players are joined
This commit is contained in:
@@ -212,8 +212,12 @@ void Player::Init(
|
|||||||
iNumEnabledPlayers++;
|
iNumEnabledPlayers++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ASSERT( iEnabledPlayerIndex != -1 );
|
|
||||||
ASSERT( iNumEnabledPlayers > 0 );
|
if( iNumEnabledPlayers == 0 ) // hack for ScreenHowToPlay where no players are joined
|
||||||
|
{
|
||||||
|
iEnabledPlayerIndex = 0;
|
||||||
|
iNumEnabledPlayers = 1;
|
||||||
|
}
|
||||||
|
|
||||||
for( int i=0; i<NUM_REVERSE; i++ )
|
for( int i=0; i<NUM_REVERSE; i++ )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user