forked from valve/halflife-sdk
client: hud_redraw: fix variable declaration
This commit is contained in:
parent
5cd4d7bf4c
commit
16cc7af40e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ int CHud :: Redraw( float flTime, int intermission )
|
||||||
m_fOldTime = m_flTime; // save time of previous redraw
|
m_fOldTime = m_flTime; // save time of previous redraw
|
||||||
m_flTime = flTime;
|
m_flTime = flTime;
|
||||||
m_flTimeDelta = (double)m_flTime - m_fOldTime;
|
m_flTimeDelta = (double)m_flTime - m_fOldTime;
|
||||||
static m_flShotTime = 0;
|
static float m_flShotTime = 0;
|
||||||
|
|
||||||
// Clock was reset, reset delta
|
// Clock was reset, reset delta
|
||||||
if ( m_flTimeDelta < 0 )
|
if ( m_flTimeDelta < 0 )
|
||||||
|
|
Loading…
Reference in a new issue