client: hud_redraw: fix variable declaration

This commit is contained in:
Alibek Omarov 2023-09-09 03:11:56 +03:00
parent 5cd4d7bf4c
commit 16cc7af40e

View file

@ -91,7 +91,7 @@ int CHud :: Redraw( float flTime, int intermission )
m_fOldTime = m_flTime; // save time of previous redraw
m_flTime = flTime;
m_flTimeDelta = (double)m_flTime - m_fOldTime;
static m_flShotTime = 0;
static float m_flShotTime = 0;
// Clock was reset, reset delta
if ( m_flTimeDelta < 0 )