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
-12
View File
@@ -865,19 +865,7 @@ void ScreenEvaluation::MenuStart( PlayerNumber pn )
if( PREFSMAN->m_bEventMode ) if( PREFSMAN->m_bEventMode )
{ {
switch( GAMESTATE->m_PlayMode )
{
case PLAY_MODE_ARCADE:
m_Menu.StartTransitioning( SM_GoToNextScreen ); m_Menu.StartTransitioning( SM_GoToNextScreen );
break;
case PLAY_MODE_NONSTOP:
case PLAY_MODE_ONI:
case PLAY_MODE_ENDLESS:
m_Menu.StartTransitioning( SM_GoToSelectCourse );
break;
default:
ASSERT(0);
}
} }
else // not event mode else // not event mode
{ {
+4 -2
View File
@@ -759,9 +759,11 @@ void SongManager::CleanData()
{ {
for( unsigned i=0; i<m_pSongs.size(); i++ ) for( unsigned i=0; i<m_pSongs.size(); i++ )
{ {
for( unsigned n=0; n<m_pSongs[i]->m_apNotes.size(); n++ ) Song* pSong = m_pSongs[i];
for( unsigned n=0; n<pSong->m_apNotes.size(); n++ )
{ {
m_pSongs[i]->m_apNotes[n]->Compress(); Notes* pNotes = pSong->m_apNotes[n];
pNotes->Compress();
} }
} }
} }