mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
Merge d8daa2f16c
This commit is contained in:
parent
38b2236515
commit
f318cab1c2
@ -144,6 +144,9 @@ void CShotgun::PrimaryAttack()
|
|||||||
#endif
|
#endif
|
||||||
m_pPlayer->pev->effects = (int)( m_pPlayer->pev->effects ) | EF_MUZZLEFLASH;
|
m_pPlayer->pev->effects = (int)( m_pPlayer->pev->effects ) | EF_MUZZLEFLASH;
|
||||||
|
|
||||||
|
// player "shoot" animation
|
||||||
|
m_pPlayer->SetAnimation( PLAYER_ATTACK1 );
|
||||||
|
|
||||||
Vector vecSrc = m_pPlayer->GetGunPosition();
|
Vector vecSrc = m_pPlayer->GetGunPosition();
|
||||||
Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );
|
Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user