mirror of https://github.com/FWGS/hlsdk-xash3d
Fix minimp5 body passed to EV_WeaponAnimation.
This commit is contained in:
parent
6244a692ac
commit
cdf0f9c12f
|
@ -757,7 +757,7 @@ void EV_FireMiniMP5( event_args_t *args )
|
||||||
{
|
{
|
||||||
// Add muzzle flash to current weapon model
|
// Add muzzle flash to current weapon model
|
||||||
EV_MuzzleFlash();
|
EV_MuzzleFlash();
|
||||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( MINIMP5_FIRE1, 2 );
|
gEngfuncs.pEventAPI->EV_WeaponAnimation( MINIMP5_FIRE1, 0 );
|
||||||
|
|
||||||
V_PunchAxis( 0, gEngfuncs.pfnRandomFloat( -2, 2 ) );
|
V_PunchAxis( 0, gEngfuncs.pfnRandomFloat( -2, 2 ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue