move Steps searching out of song into SongUtil so that it can be shared with CourseEntry
This commit is contained in:
@@ -277,7 +277,7 @@ void ScoreScroller::ConfigureActor( Actor *pActor, int iItem )
|
||||
|
||||
FOREACH_CONST( Difficulty, m_DifficultiesToShow, iter )
|
||||
{
|
||||
const Steps* pSteps = pSong->GetStepsByDifficulty( m_StepsType, *iter, false );
|
||||
const Steps* pSteps = SongUtil::GetStepsByDifficulty( pSong, m_StepsType, *iter, false );
|
||||
if( pSteps && UNLOCKMAN->StepsIsLocked(pSong, pSteps) )
|
||||
pSteps = NULL;
|
||||
BitmapText* pTextStepsScore = &item.m_textScore[*iter];
|
||||
|
||||
Reference in New Issue
Block a user