Fix ViewPunch random for singleplayer AR2

This commit is contained in:
ALLEN-PC\acj30 2023-10-24 23:25:01 -05:00
parent 8e9020c741
commit c406a6702f

View File

@ -346,7 +346,7 @@ void CWeaponAR2::DelayedAttack( void )
pOwner->SnapEyeAngles( angles );
pOwner->ViewPunch( QAngle( random->RandomInt( -8, -12 ), random->RandomInt( 1, 2 ), 0 ) );
pOwner->ViewPunch( QAngle( random->RandomInt( -12, -8 ), random->RandomInt( 1, 2 ), 0 ) );
// Decrease ammo
pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType );