From c406a6702fc9fd740205787d4e087a27c27c0e17 Mon Sep 17 00:00:00 2001 From: "ALLEN-PC\\acj30" Date: Tue, 24 Oct 2023 23:25:01 -0500 Subject: [PATCH] Fix ViewPunch random for singleplayer AR2 --- sp/src/game/server/hl2/weapon_ar2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/game/server/hl2/weapon_ar2.cpp b/sp/src/game/server/hl2/weapon_ar2.cpp index 6e7d4cac..deee7973 100644 --- a/sp/src/game/server/hl2/weapon_ar2.cpp +++ b/sp/src/game/server/hl2/weapon_ar2.cpp @@ -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 );