From 41f8a34c9ffd467ccf19230abe9e53dd2626132c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 19 Jan 2006 01:14:59 +0000 Subject: [PATCH] fewer code paths to set m_iChoiceInRowWithFocus --- stepmania/src/OptionRow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index 63790f7b93..b3fcb0e42f 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -852,7 +852,7 @@ void OptionRow::ResetFocusFromSelection( PlayerNumber pn ) case SELECT_ONE: /* Import the focus from the selected option. */ int iSelection = GetOneSelection( pn, true ); - m_iChoiceInRowWithFocus[pn] = iSelection; // focus on the selection we just set + SetChoiceInRowWithFocus( pn, iSelection ); break; } @@ -861,7 +861,7 @@ void OptionRow::ResetFocusFromSelection( PlayerNumber pn ) // if( m_bFirstItemGoesDown ) FOREACH_PlayerNumber( p ) - m_iChoiceInRowWithFocus[p] = 0; + SetChoiceInRowWithFocus( p, 0 ); } bool OptionRow::GetSelected( PlayerNumber pn, int iChoice ) const