From 650ae662436da7cd573943b9f96a0b34d872529f Mon Sep 17 00:00:00 2001 From: Andrew Livy Date: Sat, 23 May 2009 22:02:14 +0000 Subject: [PATCH] Another fix to GetCurrentSteps -- now selects proper difficulty. --- stepmania/src/GameState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 7f37f7e6a6..a2e10d76a7 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -2138,8 +2138,8 @@ public: Steps* pSteps; 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 ) pSteps = p->m_pCurSteps[pn]; }