Another fix to GetCurrentSteps -- now selects proper difficulty.

This commit is contained in:
Andrew Livy
2009-05-23 22:02:14 +00:00
parent 1ab2379339
commit 650ae66243
+1 -1
View File
@@ -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];