|
|
@ -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 ); |
|
|
|
|
|
|
|
|
|
|
|