From a6703d5561e304f6da1899a14e8855ad1141a9d3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 25 Aug 2004 08:25:43 +0000 Subject: [PATCH] fix "by Unknown artist" autogen slipping through --- stepmania/src/SongManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 8a25d026f8..f18d0d1779 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -619,7 +619,8 @@ void SongManager::InitAutogenCourses() /* Different artist, or we're at the end. If we have enough entries for * the last artist, add it. Skip blanks and "Unknown artist". */ if( iCurArtistCount >= 3 && sCurArtistTranslit != "" && - sCurArtistTranslit.CompareNoCase("Unknown artist") ) + sCurArtistTranslit.CompareNoCase("Unknown artist") && + sCurArtist.CompareNoCase("Unknown artist") ) { pCourse = new Course; pCourse->AutogenOniFromArtist( sCurArtist, sCurArtistTranslit, aSongs, DIFFICULTY_HARD );