[splittiming] replace new Steps with [song].CreateSteps() (224 build errors)

This commit is contained in:
Thai Pangsakulyanont
2011-05-09 22:47:47 +07:00
parent 0d42b00621
commit 31848e79c4
8 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -686,7 +686,7 @@ bool SSCLoader::LoadFromSSCFile( const RString &sPath, Song &out, bool bFromCach
else if( sValueName=="NOTEDATA" )
{
state = GETTING_STEP_INFO;
pNewNotes = new Steps;
pNewNotes = out.CreateSteps();
}
break;
}
@@ -957,7 +957,7 @@ bool SSCLoader::LoadEditFromMsd( const MsdFile &msd, const RString &sEditFilePat
else if( sValueName=="NOTEDATA" )
{
pNewNotes = new Steps;
pNewNotes = pSong->CreateSteps();
bSSCFormat = true;
}
if( sValueName=="STEPSTYPE" )
@@ -1062,7 +1062,7 @@ bool SSCLoader::LoadEditFromMsd( const MsdFile &msd, const RString &sEditFilePat
}
else
{
pNewNotes = new Steps;
pNewNotes = pSong->CreateSteps();
SMLoader::LoadFromSMTokens(
sParams[1], sParams[2], sParams[3], sParams[4], sParams[5], sParams[6],
*pNewNotes);