From 4d782eab7cf69b97762cc63577fafc3748509a57 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Wed, 16 Nov 2022 10:50:15 +0500 Subject: [PATCH] Fix par21 body passed to EV_WeaponAnimation. --- cl_dll/ev_hldm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_dll/ev_hldm.cpp b/cl_dll/ev_hldm.cpp index 9fbfd6c2..96c87a11 100644 --- a/cl_dll/ev_hldm.cpp +++ b/cl_dll/ev_hldm.cpp @@ -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 ); }