From a3b6b1ab01b1801ebd04b4a0bbf896ecae88c591 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 3 Feb 2006 09:49:42 +0000 Subject: [PATCH] simplify --- stepmania/src/ScreenOptions.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenOptions.cpp b/stepmania/src/ScreenOptions.cpp index 6a2147272d..d215f5d924 100644 --- a/stepmania/src/ScreenOptions.cpp +++ b/stepmania/src/ScreenOptions.cpp @@ -285,16 +285,14 @@ void ScreenOptions::RestartOptions() } - // Hide highlight if no rows are enabled. - FOREACH_HumanPlayer( p ) - m_sprLineHighlight[p]->SetHidden( m_iCurrentRow[p] == -1 ); - - CHECKPOINT; PositionRows(); FOREACH_HumanPlayer( pn ) { + // Hide the highlight if no rows are enabled. + m_sprLineHighlight[pn]->SetHidden( m_iCurrentRow[p] == -1 ); + for( unsigned r=0; rRefreshIcons( r, pn ); PositionCursor( pn );