293b41b8cd
@ -2586,6 +2586,11 @@ void CBasePlayer::PostThink()
UpdatePlayerSound();
pt_end:
if( pev->deadflag == DEAD_NO )
m_vecLastViewAngles = pev->angles;
else
pev->angles = m_vecLastViewAngles;
// Track button info so we can detect 'pressed' and 'released' buttons next frame
m_afButtonLast = pev->button;
@ -306,6 +306,8 @@ public:
void TabulateAmmo( void );
Vector m_vecLastViewAngles;
float m_flStartCharge;
float m_flAmmoStartCharge;
float m_flPlayAftershock;