fix event mode + battle bug

This commit is contained in:
Chris Danford
2003-05-05 04:13:39 +00:00
parent 7385581ccd
commit d6cbbdafe6
2 changed files with 6 additions and 16 deletions
+5 -3
View File
@@ -759,9 +759,11 @@ void SongManager::CleanData()
{
for( unsigned i=0; i<m_pSongs.size(); i++ )
{
for( unsigned n=0; n<m_pSongs[i]->m_apNotes.size(); n++ )
{
m_pSongs[i]->m_apNotes[n]->Compress();
Song* pSong = m_pSongs[i];
for( unsigned n=0; n<pSong->m_apNotes.size(); n++ )
{
Notes* pNotes = pSong->m_apNotes[n];
pNotes->Compress();
}
}
}