Setup renderer time

This commit is contained in:
mittorn 2019-03-16 18:51:30 +07:00
parent aabf5f5621
commit 00ce909fc8
2 changed files with 6 additions and 0 deletions

View File

@ -285,6 +285,7 @@ static float CL_LerpPoint( void )
frac = ( cl.time - cl.mtime[1] ) / f;
}
#endif
refState.time = cl.time;
return frac;
}
@ -2826,6 +2827,8 @@ void CL_AdjustClock( void )
if( cl.oldtime > cl.time )
cl.oldtime = cl.time;
}
refState.oldtime = cl.oldtime;
refState.time = cl.time;
}
/*

View File

@ -208,6 +208,9 @@ void CL_ParseServerTime( sizebuf_t *msg )
if( cl.oldtime > cl.time )
cl.oldtime = cl.time;
refState.oldtime = cl.oldtime;
refState.time = cl.time;
}
/*