Fix ViewPunch random for AR2

This commit is contained in:
Mr0maks 2023-08-25 22:50:18 +05:00
parent f4c2cb4795
commit cbb119b0ad
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ void CWeaponAR2::DelayedAttack( void )
// pOwner->SnapEyeAngles( angles ); // pOwner->SnapEyeAngles( angles );
pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -8, -12 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) ); pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -12, -8 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) );
// Decrease ammo // Decrease ammo
pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType ); pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType );

View File

@ -208,7 +208,7 @@ void CWeaponAR2::DelayedAttack( void )
// pOwner->SnapEyeAngles( angles ); // pOwner->SnapEyeAngles( angles );
pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -8, -12 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) ); pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -12, -8 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) );
// Decrease ammo // Decrease ammo
pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType ); pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType );