mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2025-01-09 10:35:21 +01:00
Merge 293b41b8cd
This commit is contained in:
parent
8e799fcf6d
commit
aaedd794c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user