dynamic GAMESTATE->m_ActiveAttacks

fix crash
This commit is contained in:
Glenn Maynard
2003-12-01 21:04:40 +00:00
parent dfdc683d66
commit 7f12b31439
4 changed files with 21 additions and 36 deletions
+1 -1
View File
@@ -760,7 +760,7 @@ void ScreenGameplay::LoadNextSong()
}
/* Hack: Course modifiers that are set to start immediately shouldn't tween on. */
for( int s=0; s < GameState::MAX_SIMULTANEOUS_ATTACKS; s++ )
for( unsigned s=0; s<GAMESTATE->m_ActiveAttacks[p].size(); s++ )
{
if( GAMESTATE->m_ActiveAttacks[p][s].fStartSecond == 0 )
GAMESTATE->m_ActiveAttacks[p][s].fStartSecond = -1;