From d1f82038d1c1f01770c6f9c25a793066ccf57fcf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 16 Jan 2006 20:02:42 +0000 Subject: [PATCH] simplify --- stepmania/src/ScreenOptionsMaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenOptionsMaster.cpp b/stepmania/src/ScreenOptionsMaster.cpp index fa7420e7b0..66b76226b8 100644 --- a/stepmania/src/ScreenOptionsMaster.cpp +++ b/stepmania/src/ScreenOptionsMaster.cpp @@ -115,9 +115,9 @@ void ScreenOptionsMaster::BeginFadingOut() if( row.GetFirstItemGoesDown() ) iChoice--; // not the "goes down" item - if( iChoice != -1 && iCurRow < (int) m_OptionRowHandlers.size() ) + if( iChoice != -1 ) { - const OptionRowHandler *pHand = m_OptionRowHandlers[iCurRow]; + const OptionRowHandler *pHand = row.GetHandler(); if( pHand != NULL ) { CString sThisScreen = pHand->GetScreen( iChoice );