mirror of https://github.com/FWGS/hlsdk-xash3d
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…
Reference in New Issue