From: havoc Date: Thu, 17 May 2007 19:04:55 +0000 (+0000) Subject: don't limit lerps to 100ms in demo playback X-Git-Tag: xonotic-v0.1.0preview~3148 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=28eeb18411f9faed3c573999ca9aa54bf7b2d1bf;p=xonotic%2Fdarkplaces.git don't limit lerps to 100ms in demo playback git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7307 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index 4d7c8141..5c80f8a7 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -2833,12 +2833,13 @@ extern cvar_t slowmo; static void CL_NetworkTimeReceived(double newtime) { double timehigh; - cl.mtime[1] = max(cl.mtime[0], newtime - 0.1); + cl.mtime[1] = cl.mtime[0]; cl.mtime[0] = newtime; if (cls.timedemo || (cl.islocalgame && !sv_fixedframeratesingleplayer.integer) || cl.mtime[1] == cl.mtime[0] || cls.signon < SIGNONS) cl.time = cl.mtime[1] = newtime; else if (cls.protocol != PROTOCOL_QUAKEWORLD && !cls.demoplayback) { + cl.mtime[1] = max(cl.mtime[1], cl.mtime[0] - 0.1); if (developer.integer >= 100 && vid_activewindow) { if (cl.time < cl.mtime[1] - (cl.mtime[0] - cl.mtime[1]))