mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
Play melee weapon attack animation only once.
This commit is contained in:
parent
3fb6a50a17
commit
d0f9d4ebe7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user