stop accessing m_vpSteps directly

This commit is contained in:
Glenn Maynard
2004-06-05 05:13:23 +00:00
parent d44be247d0
commit 2ca100eaad
5 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
const bool ok = LoadFromBMSFile( out.GetSongDir() + arrayBMSFileNames[i],
*pNewNotes );
if( ok )
out.m_vpSteps.push_back( pNewNotes );
out.AddSteps( pNewNotes );
else
delete pNewNotes;
}