Browse Source

Fix pipe body passed to EV_WeaponAnimation.

visitors
Andrey Akhmichin 2 years ago
parent
commit
05701c98c3
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
  1. 6
      cl_dll/ev_hldm.cpp

6
cl_dll/ev_hldm.cpp

@ -1839,13 +1839,13 @@ void EV_Pipe( event_args_t *args )
switch( ( g_iSwing++ ) % 3 ) switch( ( g_iSwing++ ) % 3 )
{ {
case 0: case 0:
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK1MISS, 1 ); gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK1MISS, 0 );
break; break;
case 1: case 1:
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK2MISS, 1 ); gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK2MISS, 0 );
break; break;
case 2: case 2:
gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK3MISS, 1 ); gEngfuncs.pEventAPI->EV_WeaponAnimation( PIPE_ATTACK3MISS, 0 );
break; break;
} }
} }

Loading…
Cancel
Save