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
-1
View File
@@ -85,7 +85,6 @@ void AttackDisplay::Update( float fDelta )
if( !GAMESTATE->m_bAttackBeganThisUpdate[m_PlayerNumber] )
return;
// don't handle this again
GAMESTATE->m_bAttackBeganThisUpdate[m_PlayerNumber] = false;
for( unsigned s=0; s<GAMESTATE->m_ActiveAttacks[m_PlayerNumber].size(); s++ )
{