VC8 fix: inline if wasn't working. Old code is still commented in there.
This commit is contained in:
@@ -242,8 +242,14 @@ 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( ce.stepsCriteria.m_difficulty == Difficulty_Invalid ?
|
CourseDifficulty cd;
|
||||||
GAMESTATE->m_cdEdit : ce.stepsCriteria.m_difficulty );
|
if( (CourseDifficulty)ce.stepsCriteria.m_difficulty == (CourseDifficulty)Difficulty_Invalid )
|
||||||
|
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