clean up AttackBeganThisUpdate flag
fix Player LaunchAttack sound
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user