From e4ddb7b56997b0c8b3c63075345ca1fb7200f16d Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 12 Apr 2009 10:29:30 +0000 Subject: [PATCH] fix mispredictions when paused, or when console is down in singleplayer git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8911 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/host.c b/host.c index 02e1b72b..de067d6b 100644 --- a/host.c +++ b/host.c @@ -858,6 +858,9 @@ void Host_Main(void) if (host_framerate.value) clframetime = host_framerate.value; + if (cl.paused || (cl.islocalgame && (key_dest != key_game || key_consoleactive))) + clframetime = 0; + if (cls.timedemo) clframetime = cl.realframetime = cl_timer; -- 2.39.2