]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.c
Use stdint.h types instead of self-defined dp[u]int
[xonotic/darkplaces.git] / lhnet.c
diff --git a/lhnet.c b/lhnet.c
index 40b5148bf02b85bdb1e6cf29f6f5e79f6b48d99d..6bacc224a5ef5aa561e36d4dda8b9fdde22fa17b 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -1110,7 +1110,7 @@ int LHNET_Read(lhnetsocket_t *lhnetsocket, void *content, int maxcontentlength,
                                continue;
                        }
 #ifndef STANDALONETEST
-                       if (cl_netlocalping.value && (realtime - cl_netlocalping.value * (1.0 / 2000.0)) < p->sentdoubletime)
+                       if (net_fakelag.value && (realtime - net_fakelag.value * (1.0 / 2000.0)) < p->sentdoubletime)
                                continue;
 #endif
                        if (value == 0 && p->destinationport == lhnetsocket->address.port)