Update shock glow effect on player (#340)

This commit is contained in:
Roman Chistokhodov 2022-10-19 21:44:39 +03:00 committed by GitHub
parent 6e8340e9af
commit 3ee6fae6fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1839,6 +1839,8 @@ void CBasePlayer::PreThink( void )
m_afButtonPressed = buttonsChanged & pev->button; // The changed ones still down are "pressed" m_afButtonPressed = buttonsChanged & pev->button; // The changed ones still down are "pressed"
m_afButtonReleased = buttonsChanged & ( ~pev->button ); // The ones not down are "released" m_afButtonReleased = buttonsChanged & ( ~pev->button ); // The ones not down are "released"
GlowShellUpdate();
g_pGameRules->PlayerThink( this ); g_pGameRules->PlayerThink( this );
if( g_fGameOver ) if( g_fGameOver )