From 4814f9621876ea69b41bdf20fa062c9f76b74d3d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 16 Mar 2005 02:16:55 +0000 Subject: [PATCH] fix crash in course mode --- stepmania/src/ScreenPlayerOptions.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenPlayerOptions.cpp b/stepmania/src/ScreenPlayerOptions.cpp index fcf5f035bb..93f327f439 100644 --- a/stepmania/src/ScreenPlayerOptions.cpp +++ b/stepmania/src/ScreenPlayerOptions.cpp @@ -66,7 +66,7 @@ void ScreenPlayerOptions::Init() this->AddChild( m_sprCancelAll[p] ); } - FOREACH_PlayerNumber( p ) + FOREACH_HumanPlayer( p ) { m_bRowCausesDisqualified[p].resize( m_Rows.size(), false ); for( unsigned r=0; rIsHumanPlayer(pn) ); + // save original player options PlayerOptions poOrig = GAMESTATE->m_pPlayerState[pn]->m_PlayerOptions;