summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2011-09-17 15:55:08 +0000
committerSimon Howard2011-09-17 15:55:08 +0000
commite7e8858adbf310c319dcca1a13667984d22826f6 (patch)
treee4b78d95e4989ba46012b6a103fc4348228140d3
parent7fc842b93009cd594961f71c84dc3fe23a55b6b8 (diff)
downloadchocolate-doom-e7e8858adbf310c319dcca1a13667984d22826f6.tar.gz
chocolate-doom-e7e8858adbf310c319dcca1a13667984d22826f6.tar.bz2
chocolate-doom-e7e8858adbf310c319dcca1a13667984d22826f6.zip
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
-rw-r--r--src/net_query.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}