From 802b199b14e5589421bcebbb8725d64a380349c7 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 20 Dec 2009 08:32:26 +0000 Subject: [PATCH] maxidlefps fix for maxfps 0 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9596 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host.c b/host.c index 1f2ccaa4..438c7bc6 100644 --- a/host.c +++ b/host.c @@ -827,7 +827,7 @@ void Host_Main(void) // //------------------- - if (cls.state != ca_dedicated && (cl_timer > 0 || cls.timedemo || cl_maxfps.value < 1)) + if (cls.state != ca_dedicated && (cl_timer > 0 || cls.timedemo || ((vid_activewindow ? cl_maxfps : cl_maxidlefps).value < 1))) { // decide the simulation time if (cls.capturevideo.active) -- 2.39.2