better output
This commit is contained in:
@@ -815,7 +815,10 @@ void Profile::LoadSongScoresFromNode( const XNode* pNode )
|
|||||||
|
|
||||||
Song* pSong = SONGMAN->GetSongFromDir( sSongDir );
|
Song* pSong = SONGMAN->GetSongFromDir( sSongDir );
|
||||||
if( pSong == NULL )
|
if( pSong == NULL )
|
||||||
WARN_AND_CONTINUE;
|
{
|
||||||
|
LOG->Trace("Couldn't find song \"%s\"; scoring data will be lost", sSongDir.c_str() );
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for( XNodes::iterator steps = (*song)->childs.begin();
|
for( XNodes::iterator steps = (*song)->childs.begin();
|
||||||
steps != (*song)->childs.end();
|
steps != (*song)->childs.end();
|
||||||
@@ -1240,7 +1243,10 @@ void Profile::LoadCourseScoresFromNode( const XNode* pNode )
|
|||||||
if( pCourse == NULL )
|
if( pCourse == NULL )
|
||||||
pCourse = SONGMAN->GetCourseFromName( sCourse );
|
pCourse = SONGMAN->GetCourseFromName( sCourse );
|
||||||
if( pCourse == NULL )
|
if( pCourse == NULL )
|
||||||
WARN_AND_CONTINUE;
|
{
|
||||||
|
LOG->Trace("Couldn't find course \"%s\"; scoring data will be lost", sCourse.c_str() );
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for( XNodes::iterator stepsType = (*course)->childs.begin();
|
for( XNodes::iterator stepsType = (*course)->childs.begin();
|
||||||
stepsType != (*course)->childs.end();
|
stepsType != (*course)->childs.end();
|
||||||
|
|||||||
Reference in New Issue
Block a user