sanity check

fix m_sprMore in doubles
This commit is contained in:
Glenn Maynard
2004-03-20 17:46:25 +00:00
parent 78fea60b31
commit e2a4d21679
+5 -1
View File
@@ -140,6 +140,10 @@ void ScreenOptions::Init( InputMode im, OptionRowData OptionRows[], int iNumOpti
m_Rows.push_back( new Row() );
Row &Row = *m_Rows[r];
Row.m_RowDef = OptionRows[r];
if( !OptionRows[r].choices.size() )
RageException::Throw( "Screen %s menu entry \"%s\" has no choices",
m_sName.c_str(), OptionRows[r].name.c_str() );
for( int p=0; p<NUM_PLAYERS; p++ )
{
@@ -1107,7 +1111,7 @@ void ScreenOptions::OnChange( PlayerNumber pn )
TweenCursor( (PlayerNumber) p );
const bool ExitSelected = m_Rows[m_iCurrentRow[pn]]->Type == Row::ROW_EXIT;
if( p == pn || GAMESTATE->GetNumSidesJoined() == 1 )
if( p == pn || GAMESTATE->GetNumHumanPlayers() == 1 )
{
if( m_bWasOnExit[p] != ExitSelected )
{