foxygit / doom Log in
commit e7e8858adbf310c319dcca1a13667984d22826f6
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Sep 17 15:55:08 2011 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Sep 17 15:55:08 2011 +0000

    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
---
 src/net_query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/net_query.c b/src/net_query.c
index 0e35bccf..0262791b 100644
--- a/src/net_query.c
+++ b/src/net_query.c
@@ -520,7 +520,7 @@ static void NET_Query_QueryLoop(net_query_callback_t callback, void *user_data)
     {
         // Don't thrash the CPU

-        I_Sleep(50);
+        I_Sleep(1);
     }
 }