[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
+2 -2
View File
@@ -360,7 +360,7 @@ bool SMALoader::LoadFromSMAFile( const RString &sPath, Song &out )
continue;
}
Steps* pNewNotes = new Steps;
Steps* pNewNotes = out.CreateSteps();
LoadFromSMATokens(
sParams[1],
sParams[2],
@@ -702,7 +702,7 @@ bool SMALoader::LoadEditFromMsd( const MsdFile &msd, const RString &sEditFilePat
if( !bAddStepsToSong )
return true;
Steps* pNewNotes = new Steps;
Steps* pNewNotes = pSong->CreateSteps();
LoadFromSMATokens(
sParams[1], sParams[2], sParams[3], sParams[4], sParams[5], sParams[6],
*pNewNotes);