mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Fix weapon selection being broken at the start of demo(or manual fullupdate call)
This commit is contained in:
parent
c128c69ceb
commit
7981bad606
@ -3327,6 +3327,10 @@ void CBasePlayer::ForceClientDllUpdate( void )
|
||||
m_fWeapon = FALSE; // Force weapon send
|
||||
m_fKnownItem = FALSE; // Force weaponinit messages.
|
||||
m_fInitHUD = TRUE; // Force HUD gmsgResetHUD message
|
||||
m_bSentBhopcap = true; // a1ba: Update bhopcap state
|
||||
memset( m_rgAmmoLast, 0, sizeof( m_rgAmmoLast )); // a1ba: Force update AmmoX
|
||||
|
||||
|
||||
|
||||
// Now force all the necessary messages
|
||||
// to be sent.
|
||||
|
Loading…
Reference in New Issue
Block a user