From 4cf2fc91e32f34286b913b087fccce141bcb437f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 15 Jun 2003 01:24:12 +0000 Subject: [PATCH] Disable these warnings; I have so many partial courses I can't find the *real* warnings. --- stepmania/src/Course.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 57d08dc9c6..2967b12494 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -182,9 +182,11 @@ void Course::LoadFromCRSFile( CString sPath ) m_sPath.c_str(), sSong.c_str()); if( !SONGMAN->DoesGroupExist(new_entry.group_name) ) { - LOG->Warn( "Course file '%s' random_within_group entry '%s' specifies a group that doesn't exist. " - "This entry will be ignored.", - m_sPath.c_str(), sSong.c_str()); + /* XXX: We need a place to put "user warnings". This is too loud for info.txt-- + * it obscures important warnings--and regular users never look there, anyway. */ + //LOG->Warn( "Course file '%s' random_within_group entry '%s' specifies a group that doesn't exist. " + // "This entry will be ignored.", + // m_sPath.c_str(), sSong.c_str()); continue; // skip this #SONG } } @@ -209,9 +211,11 @@ void Course::LoadFromCRSFile( CString sPath ) } if( !new_entry.pSong ) { - LOG->Warn( "Course file '%s' contains a fixed song entry '%s' that does not exist. " - "This entry will be ignored.", - m_sPath.c_str(), sSong.c_str()); + /* XXX: We need a place to put "user warnings". This is too loud for info.txt-- + * it obscures important warnings--and regular users never look there, anyway. */ + //LOG->Warn( "Course file '%s' contains a fixed song entry '%s' that does not exist. " + // "This entry will be ignored.", + // m_sPath.c_str(), sSong.c_str()); continue; // skip this #SONG } }