Play melee weapon attack animation only once.

This commit is contained in:
Andrey Akhmichin 2022-10-28 23:06:06 +05:00
parent 3fb6a50a17
commit d0f9d4ebe7
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
1 changed files with 0 additions and 4 deletions

View File

@ -898,8 +898,6 @@ void EV_FOTN( event_args_t *args )
if( EV_IsLocal( idx ) )
{
gEngfuncs.pEventAPI->EV_WeaponAnimation( FOTN_LPUNCH, 1 );
switch( ( g_iSwing2++ ) % 2 )
{
case 0:
@ -1219,8 +1217,6 @@ void EV_BeamKatana( event_args_t *args )
if( EV_IsLocal( idx ) )
{
gEngfuncs.pEventAPI->EV_WeaponAnimation( BEAMKATANA_ATTACK1MISS, 1 );
switch( ( g_iSwing++ ) % 3 )
{
case 0: