Hide highlight if no rows are enabled

This commit is contained in:
Chris Danford
2005-03-25 04:31:14 +00:00
parent 24df996776
commit be9e673001
+6
View File
@@ -276,6 +276,12 @@ void ScreenOptions::InitMenu( InputMode im, const vector<OptionRowDefinition> &v
}
}
// Hide highlight if no rows are enabled.
FOREACH_HumanPlayer( p )
if( m_iCurrentRow[p] == -1 )
m_sprLineHighlight[p].SetHidden( true );
CHECKPOINT;
PositionItems();