Fix minimp5 body passed to EV_WeaponAnimation.

This commit is contained in:
Andrey Akhmichin 2022-11-16 10:35:37 +05:00
parent 6244a692ac
commit cdf0f9c12f
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ void EV_FireMiniMP5( event_args_t *args )
{
// Add muzzle flash to current weapon model
EV_MuzzleFlash();
gEngfuncs.pEventAPI->EV_WeaponAnimation( MINIMP5_FIRE1, 2 );
gEngfuncs.pEventAPI->EV_WeaponAnimation( MINIMP5_FIRE1, 0 );
V_PunchAxis( 0, gEngfuncs.pfnRandomFloat( -2, 2 ) );
}