clean up AttackBeganThisUpdate flag

fix Player LaunchAttack sound
This commit is contained in:
Chris Danford
2004-03-24 07:37:35 +00:00
parent 3f3f6ad8ce
commit d6bc74bc13
4 changed files with 12 additions and 8 deletions
+2
View File
@@ -244,6 +244,8 @@ void PlayerMinus::Update( float fDeltaTime )
if( GAMESTATE->m_pCurSong==NULL )
return;
if( GAMESTATE->m_bAttackBeganThisUpdate[m_PlayerNumber] )
m_soundAttackLaunch.Play();
if( GAMESTATE->m_bAttackEndedThisUpdate[m_PlayerNumber] )
m_soundAttackEnding.Play();