Only human players can have beginner helpers.

This commit is contained in:
Steve Checkoway
2007-04-01 06:55:01 +00:00
parent e9b35b60dc
commit 3817a695e1
+3 -3
View File
@@ -1138,9 +1138,9 @@ void ScreenGameplay::LoadNextSong()
{
FOREACH_EnabledPlayerNumberInfo( m_vPlayerInfo, pi )
{
Steps *pSteps = GAMESTATE->m_pCurSteps[ pi->GetStepsAndTrailIndex() ];
if( pSteps->GetDifficulty() == Difficulty_Beginner )
m_BeginnerHelper.AddPlayer( pi->GetStepsAndTrailIndex(), pi->m_pPlayer->GetNoteData() );
PlayerNumber pn = pi->GetStepsAndTrailIndex();
if( GAMESTATE->IsHumanPlayer(pn) && GAMESTATE->m_pCurSteps[pn]->GetDifficulty() == Difficulty_Beginner )
m_BeginnerHelper.AddPlayer( pn, pi->m_pPlayer->GetNoteData() );
}
}