This commit is contained in:
Steve Checkoway
2006-10-07 11:41:52 +00:00
parent 72cf10f1a5
commit df5d19bd97
@@ -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;