Disable these warnings; I have so many partial courses I can't find

the *real* warnings.
This commit is contained in:
Glenn Maynard
2003-06-15 01:24:12 +00:00
parent de4bf7288b
commit 4cf2fc91e3
+10 -6
View File
@@ -182,9 +182,11 @@ void Course::LoadFromCRSFile( CString sPath )
m_sPath.c_str(), sSong.c_str()); m_sPath.c_str(), sSong.c_str());
if( !SONGMAN->DoesGroupExist(new_entry.group_name) ) if( !SONGMAN->DoesGroupExist(new_entry.group_name) )
{ {
LOG->Warn( "Course file '%s' random_within_group entry '%s' specifies a group that doesn't exist. " /* XXX: We need a place to put "user warnings". This is too loud for info.txt--
"This entry will be ignored.", * it obscures important warnings--and regular users never look there, anyway. */
m_sPath.c_str(), sSong.c_str()); //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 continue; // skip this #SONG
} }
} }
@@ -209,9 +211,11 @@ void Course::LoadFromCRSFile( CString sPath )
} }
if( !new_entry.pSong ) if( !new_entry.pSong )
{ {
LOG->Warn( "Course file '%s' contains a fixed song entry '%s' that does not exist. " /* XXX: We need a place to put "user warnings". This is too loud for info.txt--
"This entry will be ignored.", * it obscures important warnings--and regular users never look there, anyway. */
m_sPath.c_str(), sSong.c_str()); //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 continue; // skip this #SONG
} }
} }