From: cloudwalk Date: Wed, 15 Jul 2020 02:44:17 +0000 (+0000) Subject: host: Remove redundant check X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d98eccc022163447626f421a03cb0d62042d9318;p=xonotic%2Fdarkplaces.git host: Remove redundant check git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12810 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index 2192a6b3..53e27fb7 100644 --- 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