Only human players can have beginner helpers.
This commit is contained in:
@@ -1138,9 +1138,9 @@ void ScreenGameplay::LoadNextSong()
|
|||||||
{
|
{
|
||||||
FOREACH_EnabledPlayerNumberInfo( m_vPlayerInfo, pi )
|
FOREACH_EnabledPlayerNumberInfo( m_vPlayerInfo, pi )
|
||||||
{
|
{
|
||||||
Steps *pSteps = GAMESTATE->m_pCurSteps[ pi->GetStepsAndTrailIndex() ];
|
PlayerNumber pn = pi->GetStepsAndTrailIndex();
|
||||||
if( pSteps->GetDifficulty() == Difficulty_Beginner )
|
if( GAMESTATE->IsHumanPlayer(pn) && GAMESTATE->m_pCurSteps[pn]->GetDifficulty() == Difficulty_Beginner )
|
||||||
m_BeginnerHelper.AddPlayer( pi->GetStepsAndTrailIndex(), pi->m_pPlayer->GetNoteData() );
|
m_BeginnerHelper.AddPlayer( pn, pi->m_pPlayer->GetNoteData() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user