diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index a1d5908f12..59675dbb4f 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -184,6 +184,7 @@ CString OptionRow::GetRowTitle() const if( GAMESTATE->m_pCurCourse ) { Trail* pTrail = GAMESTATE->m_pCurTrail[GAMESTATE->m_MasterPlayerNumber]; + ASSERT( pTrail != NULL ); const int iNumCourseEntries = pTrail->m_vEntries.size(); if( iNumCourseEntries > MAX_COURSE_ENTRIES_BEFORE_VARIOUS ) bShowBpmInSpeedTitle = false;