Fix pipe body passed to EV_WeaponAnimation.

This commit is contained in:
Andrey Akhmichin 2022-11-16 10:32:02 +05:00
parent 9d1cdb34f6
commit 05701c98c3
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}