]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
remove redundant check
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 24 Feb 2012 14:43:49 +0000 (14:43 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 24 Feb 2012 14:43:49 +0000 (14:43 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11730 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index 3a50a86b5b3c928514da88996834240f19bdd70b..d13bffd05d225c2c154ffc7f521ba51e130c039f 100644 (file)
--- 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;