diff --git a/stepmania/src/BPMDisplay.cpp b/stepmania/src/BPMDisplay.cpp index 96a59c6fea..83bc74c3d6 100644 --- a/stepmania/src/BPMDisplay.cpp +++ b/stepmania/src/BPMDisplay.cpp @@ -197,6 +197,7 @@ void BPMDisplay::SetBpmFromSong( const Song* pSong ) void BPMDisplay::SetBpmFromCourse( const Course* pCourse ) { ASSERT( pCourse ); + ASSERT( GAMESTATE->GetCurrentStyle() ); StepsType st = GAMESTATE->GetCurrentStyle()->m_StepsType; Trail *pTrail = pCourse->GetTrail( st );