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
@@ -473,7 +473,7 @@ bool DWILoader::LoadFromDWIFile( CString sPath, Song &out )
*pNewNotes
);
if(pNewNotes->m_StepsType != STEPS_TYPE_INVALID)
out.m_vpSteps.push_back( pNewNotes );
out.AddSteps( pNewNotes );
else
delete pNewNotes;
}