better output
This commit is contained in:
@@ -930,11 +930,21 @@ void Profile::LoadSongScoresFromNode( const XNode* pNode )
|
|||||||
WARN_AND_CONTINUE;
|
WARN_AND_CONTINUE;
|
||||||
|
|
||||||
pSteps = pSong->GetStepsByDescription( st, sDescription );
|
pSteps = pSong->GetStepsByDescription( st, sDescription );
|
||||||
|
if( pSteps == NULL )
|
||||||
|
{
|
||||||
|
LOG->Trace("Edit steps \"%s\" missing in song \"%s\"; scoring data will be lost", sDescription.c_str(), sSongDir.c_str() );
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
pSteps = pSong->GetStepsByDifficulty( st, dc );
|
pSteps = pSong->GetStepsByDifficulty( st, dc );
|
||||||
if( pSteps == NULL )
|
if( pSteps == NULL )
|
||||||
WARN_AND_CONTINUE;
|
{
|
||||||
|
LOG->Trace("\"%s\" steps missing in song \"%s\"; scoring data will be lost", DifficultyToString(dc).c_str(), sSongDir.c_str() );
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
XNode *pHighScoreListNode = (*steps)->GetChild("HighScoreList");
|
XNode *pHighScoreListNode = (*steps)->GetChild("HighScoreList");
|
||||||
if( pHighScoreListNode == NULL )
|
if( pHighScoreListNode == NULL )
|
||||||
|
|||||||
Reference in New Issue
Block a user