don't call HasScreen for a NEXT_ROW item
This commit is contained in:
@@ -141,8 +141,11 @@ void ScreenOptionsMaster::BeginFadingOut()
|
|||||||
int iChoice = row.GetChoiceInRowWithFocus( GAMESTATE->m_MasterPlayerNumber );
|
int iChoice = row.GetChoiceInRowWithFocus( GAMESTATE->m_MasterPlayerNumber );
|
||||||
if( row.GetFirstItemGoesDown() )
|
if( row.GetFirstItemGoesDown() )
|
||||||
iChoice--;
|
iChoice--;
|
||||||
OptionRowHandler *pHand = OptionRowHandlers[iCurRow];
|
if( iChoice != -1 ) // not the "goes down" item
|
||||||
m_bExportWillSetANewScreen = pHand->HasScreen( iChoice );
|
{
|
||||||
|
OptionRowHandler *pHand = OptionRowHandlers[iCurRow];
|
||||||
|
m_bExportWillSetANewScreen = pHand->HasScreen( iChoice );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If options set a NextScreen or one is specified in metrics, then fade out
|
// If options set a NextScreen or one is specified in metrics, then fade out
|
||||||
|
|||||||
Reference in New Issue
Block a user