From 95a9e71bb19acc71c24f69e22531af1e96b7a1ae Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 7 Jul 2011 16:37:08 -0400 Subject: [PATCH] Change the copying to moving. --- Docs/Changelog_sm5.txt | 2 +- src/NotesLoaderSSC.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Docs/Changelog_sm5.txt b/Docs/Changelog_sm5.txt index d6f436c9a3..539e603033 100644 --- a/Docs/Changelog_sm5.txt +++ b/Docs/Changelog_sm5.txt @@ -15,7 +15,7 @@ StepMania 5.0 ????????? | 20110??? number of songs installed. Fixes issue 373. [AJ] * [NotesAllSSC] Add the #CHARTNAME tag to the Steps. #DESCRIPTION is now for more detailed descriptions, or perhaps some short hand lingo. All files - that used #DESCRIPTION will have their values copied to #CHARTNAME on + that used #DESCRIPTION will have their values moved to #CHARTNAME on load. [Wolfman2000] 2011/07/06 diff --git a/src/NotesLoaderSSC.cpp b/src/NotesLoaderSSC.cpp index e10f1162a9..a9b872794c 100644 --- a/src/NotesLoaderSSC.cpp +++ b/src/NotesLoaderSSC.cpp @@ -465,8 +465,10 @@ bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach { pNewNotes->SetChartName(sParams[1]); } - // TODO: Make this the else clause? - pNewNotes->SetDescription( sParams[1] ); + else + { + pNewNotes->SetDescription(sParams[1]); + } } else if( sValueName=="DIFFICULTY" )