From: divverent Date: Fri, 24 Feb 2012 14:43:49 +0000 (+0000) Subject: remove redundant check X-Git-Tag: xonotic-v0.8.0~96^2~296 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8a185be15ae1bea0bbb2b5857bbc1794675b75a8;p=xonotic%2Fdarkplaces.git remove redundant check git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11730 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index 3a50a86b..d13bffd0 100644 --- a/sv_main.c +++ b/sv_main.c @@ -3909,7 +3909,7 @@ static int SV_ThreadFunc(void *voiddata) { svs.perf_cpuload = 1 - svs.perf_acc_sleeptime / svs.perf_acc_realtime; svs.perf_lost = svs.perf_acc_lost / svs.perf_acc_realtime; - if(svs.perf_acc_offset_samples > 0 && sv.time > 10) + if(svs.perf_acc_offset_samples > 0) { svs.perf_offset_max = svs.perf_acc_offset_max; svs.perf_offset_avg = svs.perf_acc_offset / svs.perf_acc_offset_samples;