Another fix to GetCurrentSteps -- now selects proper difficulty.
This commit is contained in:
@@ -2138,7 +2138,7 @@ public:
|
|||||||
Steps* pSteps;
|
Steps* pSteps;
|
||||||
if( p->m_pCurSong.Get() != NULL )
|
if( p->m_pCurSong.Get() != NULL )
|
||||||
{
|
{
|
||||||
pSteps = p->m_pCurSong.Get()->GetStepsByStepsType(GAMESTATE->GetCurrentStyle()->m_StepsType)[pn];
|
pSteps = SongUtil::GetOneSteps( p->m_pCurSong.Get(), GAMESTATE->GetCurrentStyle()->m_StepsType, GAMESTATE->GetClosestShownDifficulty(pn) );
|
||||||
|
|
||||||
if( pSteps == NULL )
|
if( pSteps == NULL )
|
||||||
pSteps = p->m_pCurSteps[pn];
|
pSteps = p->m_pCurSteps[pn];
|
||||||
|
|||||||
Reference in New Issue
Block a user