Skip to content

Commit cbb119b

Browse files
committed
Fix ViewPunch random for AR2
1 parent f4c2cb4 commit cbb119b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mp/src/game/shared/hl2mp/weapon_ar2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void CWeaponAR2::DelayedAttack( void )
208208

209209
// pOwner->SnapEyeAngles( angles );
210210

211-
pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -8, -12 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) );
211+
pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -12, -8 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) );
212212

213213
// Decrease ammo
214214
pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType );

sp/src/game/shared/hl2mp/weapon_ar2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void CWeaponAR2::DelayedAttack( void )
208208

209209
// pOwner->SnapEyeAngles( angles );
210210

211-
pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -8, -12 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) );
211+
pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -12, -8 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) );
212212

213213
// Decrease ammo
214214
pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType );

0 commit comments

Comments
 (0)