This commit is contained in:
Glenn Maynard
2004-01-03 04:15:31 +00:00
parent 6d2aa8632c
commit ce9ad5178c
+2 -2
View File
@@ -332,9 +332,9 @@ NoteField::NoteDisplayCols *NoteField::SearchForBeat( float Beat )
{
NDMap::iterator it = m_BeatToNoteDisplays.lower_bound( Beat );
/* The first entry should always be lower than any Beat we might receive. */
ASSERT( it != m_BeatToNoteDisplays.begin() );
RAGE_ASSERT_M( it != m_BeatToNoteDisplays.begin(), ssprintf("%f",Beat) );
--it;
ASSERT( it != m_BeatToNoteDisplays.end() );
RAGE_ASSERT_M( it != m_BeatToNoteDisplays.end(), ssprintf("%f",Beat) );
return it->second;
}