diff --git a/stepmania/src/OptionsList.cpp b/stepmania/src/OptionsList.cpp index dc76f35986..e3bfdacded 100644 --- a/stepmania/src/OptionsList.cpp +++ b/stepmania/src/OptionsList.cpp @@ -287,7 +287,9 @@ const OptionRowHandler *OptionsList::GetCurrentHandler() int OptionsList::GetOneSelection( RString sRow, bool bAllowFail ) const { - const vector &bSelections = m_bSelections.find(sRow)->second; + map >::const_iterator it = m_bSelections.find(sRow); + ASSERT_M( it != m_bSelections.end(), sRow ); + const vector &bSelections = it->second; for( unsigned i=0; i