mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-14 08:57:52 +00:00
Merge 293b41b8cd
This commit is contained in:
parent
8e799fcf6d
commit
aaedd794c3
@ -2586,6 +2586,11 @@ void CBasePlayer::PostThink()
|
|||||||
|
|
||||||
UpdatePlayerSound();
|
UpdatePlayerSound();
|
||||||
pt_end:
|
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
|
// Track button info so we can detect 'pressed' and 'released' buttons next frame
|
||||||
m_afButtonLast = pev->button;
|
m_afButtonLast = pev->button;
|
||||||
|
|
||||||
|
@ -306,6 +306,8 @@ public:
|
|||||||
|
|
||||||
void TabulateAmmo( void );
|
void TabulateAmmo( void );
|
||||||
|
|
||||||
|
Vector m_vecLastViewAngles;
|
||||||
|
|
||||||
float m_flStartCharge;
|
float m_flStartCharge;
|
||||||
float m_flAmmoStartCharge;
|
float m_flAmmoStartCharge;
|
||||||
float m_flPlayAftershock;
|
float m_flPlayAftershock;
|
||||||
|
Loading…
Reference in New Issue
Block a user