From ca02ee68d0fdbda9eb9223653e85edb6fae83004 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 31 Oct 2004 20:32:57 +0000 Subject: [PATCH] log ignored loads due to cached !m_bHasMusic --- stepmania/src/Song.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index b13e4e282a..f646e10ade 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -282,9 +282,12 @@ bool Song::LoadFromSongDir( CString sDir ) AddAutoGenNotes(); if( !m_bHasMusic ) + { + LOG->Trace( "Song \"%s\" ignored (no music)", sDir.c_str() ); return false; // don't load this song - else - return true; // do load this song + } + + return true; // do load this song } static void GetImageDirListing( CString sPath, CStringArray &AddTo, bool bReturnPathToo=false )