fix off by 1 when calling HasScreen

This commit is contained in:
Chris Danford
2005-04-27 05:40:24 +00:00
parent cae5bf6e29
commit aed3b049ae
+3 -1
View File
@@ -138,7 +138,9 @@ void ScreenOptionsMaster::BeginFadingOut()
if( row.GetRowType() != OptionRow::ROW_EXIT )
{
const int iChoice = row.GetChoiceInRowWithFocus( GAMESTATE->m_MasterPlayerNumber );
int iChoice = row.GetChoiceInRowWithFocus( GAMESTATE->m_MasterPlayerNumber );
if( row.GetFirstItemGoesDown() )
iChoice--;
OptionRowHandler *pHand = OptionRowHandlers[iCurRow];
m_bExportWillSetANewScreen = pHand->HasScreen( iChoice );
}