don't show locked Steps in ranking
This commit is contained in:
@@ -850,7 +850,7 @@ float ScreenRanking::SetPage( PageToShow pts )
|
|||||||
FOREACH_CONST( Difficulty, DIFFICULTIES_TO_SHOW.GetValue(), iter )
|
FOREACH_CONST( Difficulty, DIFFICULTIES_TO_SHOW.GetValue(), iter )
|
||||||
{
|
{
|
||||||
const Steps* pSteps = pSong->GetStepsByDifficulty( pts.st, *iter, false );
|
const Steps* pSteps = pSong->GetStepsByDifficulty( pts.st, *iter, false );
|
||||||
if( UNLOCKMAN->StepsIsLocked( pSong, pSteps ) )
|
if( pSteps && UNLOCKMAN->StepsIsLocked(pSong, pSteps) )
|
||||||
pSteps = NULL;
|
pSteps = NULL;
|
||||||
BitmapText* pTextStepsScore = &item.m_textScore[*iter];
|
BitmapText* pTextStepsScore = &item.m_textScore[*iter];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user