mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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;
|
frac = ( cl.time - cl.mtime[1] ) / f;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
refState.time = cl.time;
|
||||||
return frac;
|
return frac;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2826,6 +2827,8 @@ void CL_AdjustClock( void )
|
|||||||
if( cl.oldtime > cl.time )
|
if( cl.oldtime > cl.time )
|
||||||
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 )
|
if( cl.oldtime > cl.time )
|
||||||
cl.oldtime = cl.time;
|
cl.oldtime = cl.time;
|
||||||
|
|
||||||
|
refState.oldtime = cl.oldtime;
|
||||||
|
refState.time = cl.time;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user