Trying to track an odd crash that I can't reproduce ...
This commit is contained in:
@@ -515,7 +515,9 @@ void Course::GetCourseInfo( NotesType nt, vector<Course::Info> &ci, int Difficul
|
|||||||
for( unsigned j=0; j<AllSongsShuffled.size(); j++ )
|
for( unsigned j=0; j<AllSongsShuffled.size(); j++ )
|
||||||
{
|
{
|
||||||
/* See if the first song matches what we want. */
|
/* See if the first song matches what we want. */
|
||||||
|
ASSERT( CurSong < AllSongsShuffled.size() );
|
||||||
pSong = AllSongsShuffled[CurSong];
|
pSong = AllSongsShuffled[CurSong];
|
||||||
|
ASSERT( pSong );
|
||||||
CurSong = (CurSong+1) % AllSongsShuffled.size();
|
CurSong = (CurSong+1) % AllSongsShuffled.size();
|
||||||
|
|
||||||
if(e.type == Entry::random_within_group &&
|
if(e.type == Entry::random_within_group &&
|
||||||
|
|||||||
Reference in New Issue
Block a user