mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Fix pipe body passed to EV_WeaponAnimation.
This commit is contained in:
parent
9d1cdb34f6
commit
05701c98c3
@ -1839,13 +1839,13 @@ void EV_Pipe( event_args_t *args )
|
||||
switch( ( g_iSwing++ ) % 3 )
|
||||
{
|
||||
case 0:
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK1MISS, 1 );
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK1MISS, 0 );
|
||||
break;
|
||||
case 1:
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK2MISS, 1 );
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK2MISS, 0 );
|
||||
break;
|
||||
case 2:
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK3MISS, 1 );
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK3MISS, 0 );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user