shithub: choc

Download patch

ref: e7e8858adbf310c319dcca1a13667984d22826f6
parent: 7fc842b93009cd594961f71c84dc3fe23a55b6b8
author: Simon Howard <[email protected]>
date: Sat Sep 17 11:55:08 EDT 2011

Change query loop to sleep for 1ms rather than 50ms intervals, so that
precision is not lost in ping times.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2380

--- a/src/net_query.c
+++ b/src/net_query.c
@@ -520,7 +520,7 @@
     {
         // Don't thrash the CPU
 
-        I_Sleep(50);
+        I_Sleep(1);
     }
 }