fix times/pausing with pure csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4761 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a3d7f5aa40
commit
2a58bd0d74
1 changed files with 4 additions and 0 deletions
|
@ -539,7 +539,11 @@ void CL_CalcClientTime(void)
|
||||||
{
|
{
|
||||||
extern float demtime;
|
extern float demtime;
|
||||||
if (!cls.state)
|
if (!cls.state)
|
||||||
|
{
|
||||||
cl.servertime += host_frametime;
|
cl.servertime += host_frametime;
|
||||||
|
cl.time = cl.servertime;
|
||||||
|
return;
|
||||||
|
}
|
||||||
else// if (cls.protocol != CP_QUAKE3)
|
else// if (cls.protocol != CP_QUAKE3)
|
||||||
{
|
{
|
||||||
float oldst = realtime;
|
float oldst = realtime;
|
||||||
|
|
Loading…
Reference in a new issue