From 7eeccfa4124dba4203daca028fdab888869ea2e9 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 15 Aug 2006 09:23:10 +0000 Subject: [PATCH] simplify loading of courses in Courses/ dir --- stepmania/src/SongManager.cpp | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index dc8df4829f..916d9ab277 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -662,31 +662,8 @@ void SongManager::InitCoursesFromDisk( LoadingWindow *ld ) { LOG->Trace( "Loading courses." ); - - // - // Load courses from in Courses dir - // - { - vector saCourseFiles; - GetDirListing( COURSES_DIR+"*.crs", saCourseFiles, false, true ); - for( unsigned i=0; iSetText( LOADING_COURSES.GetValue()+ssprintf("\n%s\n%s", - "Courses", - Basename(saCourseFiles[i]).c_str())); - ld->Paint(); - } - } - } - - vector vsCourseDirs; + vsCourseDirs.push_back( "" ); vsCourseDirs.push_back( COURSES_DIR ); vsCourseDirs.push_back( ADDITIONAL_COURSES_DIR );