revert. You brought back a type I've been trying to remove.
This commit is contained in:
@@ -243,7 +243,7 @@ void ScreenOptionsEditCourseEntry::HandleScreenMessage( const ScreenMessage SM )
|
||||
Steps *pSteps;
|
||||
StepsType st = GAMESTATE->m_stEdit;
|
||||
CourseDifficulty cd = ( ce.stepsCriteria.m_difficulty == Difficulty_Invalid ?
|
||||
GAMESTATE->m_cdEdit : CourseDifficulty(ce.stepsCriteria.m_difficulty) );
|
||||
GAMESTATE->m_cdEdit : ce.stepsCriteria.m_difficulty );
|
||||
|
||||
if( pSong == NULL )
|
||||
pSong = m_pLongSong;
|
||||
@@ -274,11 +274,11 @@ void ScreenOptionsEditCourseEntry::HandleScreenMessage( const ScreenMessage SM )
|
||||
}
|
||||
|
||||
// Try to find steps first using st and cd, then st, then cd, then any.
|
||||
pSteps = SongUtil::GetStepsByDifficulty( pSong, st, (Difficulty)cd, false );
|
||||
pSteps = SongUtil::GetStepsByDifficulty( pSong, st, cd, false );
|
||||
if( !pSteps )
|
||||
pSteps = SongUtil::GetStepsByDifficulty( pSong, st, Difficulty_Invalid, false );
|
||||
if( !pSteps )
|
||||
pSteps = SongUtil::GetStepsByDifficulty( pSong, StepsType_Invalid, (Difficulty)cd, false );
|
||||
pSteps = SongUtil::GetStepsByDifficulty( pSong, StepsType_Invalid, cd, false );
|
||||
if( !pSteps )
|
||||
pSteps = SongUtil::GetStepsByDifficulty( pSong, StepsType_Invalid, Difficulty_Invalid, false );
|
||||
ASSERT( pSteps );
|
||||
|
||||
Reference in New Issue
Block a user