mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-27 07:15:31 +03:00
Fix ViewPunch random for singleplayer AR2
This commit is contained in:
parent
8e9020c741
commit
c406a6702f
@ -346,7 +346,7 @@ void CWeaponAR2::DelayedAttack( void )
|
|||||||
|
|
||||||
pOwner->SnapEyeAngles( angles );
|
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
|
// Decrease ammo
|
||||||
pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType );
|
pOwner->RemoveAmmo( 1, m_iSecondaryAmmoType );
|
||||||
|
Loading…
Reference in New Issue
Block a user