From 2a58bd0d74c35dd3bda0845c6cf15affb207e1f1 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 6 Oct 2014 21:03:08 +0000 Subject: [PATCH] fix times/pausing with pure csqc. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4761 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_pred.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/client/cl_pred.c b/engine/client/cl_pred.c index d015812ab..f0454d1fe 100644 --- a/engine/client/cl_pred.c +++ b/engine/client/cl_pred.c @@ -539,7 +539,11 @@ void CL_CalcClientTime(void) { extern float demtime; if (!cls.state) + { cl.servertime += host_frametime; + cl.time = cl.servertime; + return; + } else// if (cls.protocol != CP_QUAKE3) { float oldst = realtime;