From 1a2b98e32263b109293c5f47ecd6bca51b149d88 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 5 May 2005 12:49:17 +0000 Subject: [PATCH] cl_netlocalping now adds only half as much lag, so that the number specified is roughly what it will achieve git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5226 d7cf8633-e32d-0410-b094-e92efae38249 --- lhnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lhnet.c b/lhnet.c index 8c9c8455..f7de35ab 100644 --- a/lhnet.c +++ b/lhnet.c @@ -568,7 +568,7 @@ int LHNET_Read(lhnetsocket_t *lhnetsocket, void *content, int maxcontentlength, continue; } #ifndef STANDALONETEST - if (cl_netlocalping.value && (Sys_DoubleTime() - cl_netlocalping.value * (1.0 / 1000.0)) < p->sentdoubletime) + if (cl_netlocalping.value && (Sys_DoubleTime() - cl_netlocalping.value * (1.0 / 2000.0)) < p->sentdoubletime) continue; #endif if (value == 0 && p->destinationport == lhnetsocket->address.addressdata.loop.port) -- 2.39.2