mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Fix par21 body passed to EV_WeaponAnimation.
This commit is contained in:
parent
95379c8263
commit
4d782eab7c
@ -723,7 +723,7 @@ void EV_FirePar21( struct event_args_s *args )
|
||||
{
|
||||
// Add muzzle flash to current weapon model
|
||||
EV_MuzzleFlash();
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PAR21_FIRE1 + gEngfuncs.pfnRandomLong( 0, 2 ), 2 );
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PAR21_FIRE1 + gEngfuncs.pfnRandomLong( 0, 2 ), 0 );
|
||||
|
||||
V_PunchAxis( 0, gEngfuncs.pfnRandomFloat( -2, 2 ) );
|
||||
}
|
||||
@ -761,7 +761,7 @@ void EV_M203( struct event_args_s *args )
|
||||
|
||||
if( EV_IsLocal( idx ) )
|
||||
{
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PAR21_LAUNCH, 2 );
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( PAR21_LAUNCH, 0 );
|
||||
V_PunchAxis( 0, -10 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user