From: divverent Date: Sun, 20 Dec 2009 08:32:26 +0000 (+0000) Subject: maxidlefps fix for maxfps 0 X-Git-Tag: xonotic-v0.1.0preview~1051 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=802b199b14e5589421bcebbb8725d64a380349c7;p=xonotic%2Fdarkplaces.git maxidlefps fix for maxfps 0 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9596 d7cf8633-e32d-0410-b094-e92efae38249 --- 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)