allow IsDisqualified for inactive players
This commit is contained in:
@@ -1047,6 +1047,9 @@ bool GameState::IsDisqualified( PlayerNumber pn )
|
|||||||
if( !PREFSMAN->m_bDisqualification )
|
if( !PREFSMAN->m_bDisqualification )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if( !GAMESTATE->IsHumanPlayer(pn) )
|
||||||
|
return false;
|
||||||
|
|
||||||
if( GAMESTATE->IsCourseMode() )
|
if( GAMESTATE->IsCourseMode() )
|
||||||
{
|
{
|
||||||
return GAMESTATE->m_pPlayerState[pn]->m_PlayerOptions.IsEasierForCourseAndTrail(
|
return GAMESTATE->m_pPlayerState[pn]->m_PlayerOptions.IsEasierForCourseAndTrail(
|
||||||
|
|||||||
Reference in New Issue
Block a user