stop accessing m_vpSteps directly
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user