X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fantilag.qh;h=e1123e786e6db126f17ff0923f5a891d94fc6fde;hb=777dc5e23d7512c3e33576884d8d200f244d3006;hp=b89f12bb153ec852d01a6f8553af37644d2d1345;hpb=198c14c07ac0c2f4484c171fce4145dcedc42172;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/antilag.qh b/qcsrc/server/antilag.qh index b89f12bb1..e1123e786 100644 --- a/qcsrc/server/antilag.qh +++ b/qcsrc/server/antilag.qh @@ -1,3 +1,6 @@ +#ifndef ANTILAG_H +#define ANTILAG_H + void antilag_record(entity e, float t); vector antilag_takebackorigin(entity e, float t); vector antilag_takebackavgvelocity(entity e, float t0, float t1); @@ -9,3 +12,4 @@ void antilag_clear(entity e); #define ANTILAG_LATENCY(e) min(0.4, e.ping * 0.001) // add one ticrate? +#endif