From b54e78c433297f59028ba04f1190915a9fe0b194 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 27 Apr 2005 05:57:58 +0000 Subject: [PATCH] don't call HasScreen for a NEXT_ROW item --- stepmania/src/ScreenOptionsMaster.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenOptionsMaster.cpp b/stepmania/src/ScreenOptionsMaster.cpp index 4a2ebe78bf..6d6cbd2a73 100644 --- a/stepmania/src/ScreenOptionsMaster.cpp +++ b/stepmania/src/ScreenOptionsMaster.cpp @@ -141,8 +141,11 @@ void ScreenOptionsMaster::BeginFadingOut() int iChoice = row.GetChoiceInRowWithFocus( GAMESTATE->m_MasterPlayerNumber ); if( row.GetFirstItemGoesDown() ) iChoice--; - OptionRowHandler *pHand = OptionRowHandlers[iCurRow]; - m_bExportWillSetANewScreen = pHand->HasScreen( iChoice ); + if( iChoice != -1 ) // not the "goes down" item + { + OptionRowHandler *pHand = OptionRowHandlers[iCurRow]; + m_bExportWillSetANewScreen = pHand->HasScreen( iChoice ); + } } // If options set a NextScreen or one is specified in metrics, then fade out