mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 14:10:11 +01:00
Setup renderer time
This commit is contained in:
parent
aabf5f5621
commit
00ce909fc8
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user