X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fantilag.qh;h=6cf392eed5ae1e8bd2bc125b3a19aa5b9e70d6dd;hb=7fbf417fa776db4949e6e9bfa0e9d6aa1d05f4d9;hp=ee7b5d4e37c0095628517a93ca765173f32bbd14;hpb=eac60648c4017e495060dd3ba9e50ac4bad5000a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/antilag.qh b/qcsrc/server/antilag.qh index ee7b5d4e3..6cf392eed 100644 --- a/qcsrc/server/antilag.qh +++ b/qcsrc/server/antilag.qh @@ -8,5 +8,5 @@ void antilag_clear(entity e, entity store); .float antilag_debug; -#define ANTILAG_LATENCY(e) min(0.4, e.ping * 0.001) +#define ANTILAG_LATENCY(e) min(0.4, CS(e).ping * 0.001) // add one ticrate?