This commit is contained in:
Night Owl 2017-07-17 12:06:26 +05:00
parent 38b2236515
commit f318cab1c2
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ void CShotgun::PrimaryAttack()
#endif
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 vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );