fix m_bAttackEndedThisUpdate being true when an attack begins

fix course global mods tweening
This commit is contained in:
Glenn Maynard
2004-02-07 06:11:36 +00:00
parent 36ffb71851
commit d2ee4ddb01
2 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -808,8 +808,10 @@ void ScreenGameplay::SetupSong( int p, int iSongIndex )
if( GAMESTATE->m_ActiveAttacks[p][s].fStartSecond == 0 )
GAMESTATE->m_ActiveAttacks[p][s].fStartSecond = -1;
}
/* Update attack bOn flags. */
GAMESTATE->Update(0);
GAMESTATE->RebuildPlayerOptionsFromActiveAttacks( (PlayerNumber)p );
/* Snap. */
GAMESTATE->m_CurrentPlayerOptions[p] = GAMESTATE->m_PlayerOptions[p];
NoteData pOriginalNoteData;