Cleanup.
This commit is contained in:
@@ -242,14 +242,8 @@ void ScreenOptionsEditCourseEntry::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
Song *pSong = ce.pSong;
|
Song *pSong = ce.pSong;
|
||||||
Steps *pSteps;
|
Steps *pSteps;
|
||||||
StepsType st = GAMESTATE->m_stEdit;
|
StepsType st = GAMESTATE->m_stEdit;
|
||||||
CourseDifficulty cd;
|
CourseDifficulty cd = ( ce.stepsCriteria.m_difficulty == Difficulty_Invalid ?
|
||||||
if( (CourseDifficulty)ce.stepsCriteria.m_difficulty == (CourseDifficulty)Difficulty_Invalid )
|
GAMESTATE->m_cdEdit : CourseDifficulty(ce.stepsCriteria.m_difficulty) );
|
||||||
cd = CourseDifficulty( GAMESTATE->m_cdEdit );
|
|
||||||
else
|
|
||||||
cd = CourseDifficulty( ce.stepsCriteria.m_difficulty );
|
|
||||||
|
|
||||||
//CourseDifficulty cd = CourseDifficulty( ce.stepsCriteria.m_difficulty == Difficulty_Invalid ?
|
|
||||||
// GAMESTATE->m_cdEdit : ce.stepsCriteria.m_difficulty );
|
|
||||||
|
|
||||||
if( pSong == NULL )
|
if( pSong == NULL )
|
||||||
pSong = m_pLongSong;
|
pSong = m_pLongSong;
|
||||||
|
|||||||
Reference in New Issue
Block a user