From b0703857ab56eae2bf7d4f438bdd228705e484ee Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Mon, 23 Nov 2009 05:58:36 +0000 Subject: [PATCH] fix a crash when entering ScreenSelectCourse. --- stepmania/src/StepsDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepsDisplay.cpp b/stepmania/src/StepsDisplay.cpp index da01fdc054..5e95f6ba9f 100644 --- a/stepmania/src/StepsDisplay.cpp +++ b/stepmania/src/StepsDisplay.cpp @@ -125,7 +125,7 @@ void StepsDisplay::SetFromGameState( PlayerNumber pn ) if( pTrail ) SetFromTrail( pTrail ); else - SetFromStepsTypeAndMeterAndDifficultyAndCourseType( StepsType_Invalid, 0, GAMESTATE->m_PreferredCourseDifficulty[pn], pTrail->m_CourseType ); + SetFromStepsTypeAndMeterAndDifficultyAndCourseType( StepsType_Invalid, 0, GAMESTATE->m_PreferredCourseDifficulty[pn], CourseType_Invalid ); } else {