hide/show player-specific elements
This commit is contained in:
@@ -293,6 +293,12 @@ void ScreenOptions::BeginScreen()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FOREACH_PlayerNumber( p )
|
||||||
|
{
|
||||||
|
m_sprLineHighlight[p].SetHidden( !GAMESTATE->IsHumanPlayer(p) );
|
||||||
|
m_Cursor[p].SetHidden( !GAMESTATE->IsHumanPlayer(p) );
|
||||||
|
}
|
||||||
|
|
||||||
// Hide highlight if no rows are enabled.
|
// Hide highlight if no rows are enabled.
|
||||||
FOREACH_HumanPlayer( p )
|
FOREACH_HumanPlayer( p )
|
||||||
m_sprLineHighlight[p].SetHidden( m_iCurrentRow[p] == -1 );
|
m_sprLineHighlight[p].SetHidden( m_iCurrentRow[p] == -1 );
|
||||||
|
|||||||
Reference in New Issue
Block a user