]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
host: Remove redundant check
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jul 2020 02:44:17 +0000 (02:44 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jul 2020 02:44:17 +0000 (02:44 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12810 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 2192a6b3c50c7a17cecf38cd0b320bd38639131c..53e27fb7d35a2076aac56c3f4fe4712b41be9d56 100644 (file)
--- a/host.c
+++ b/host.c
@@ -519,7 +519,7 @@ void Host_Main(void)
                                svs.perf_acc_realtime = svs.perf_acc_sleeptime = svs.perf_acc_lost = svs.perf_acc_offset = svs.perf_acc_offset_squared = svs.perf_acc_offset_max = svs.perf_acc_offset_samples = host.sleeptime = 0;
                        }
 
-                       if (sv.active && sv_timer > 0 && !svs.threaded)
+                       if (sv.active && sv_timer > 0)
                        {
                                // execute one or more server frames, with an upper limit on how much
                                // execution time to spend on server frames to avoid freezing the game if