]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/antilag.qh
Remove for-loop workaround
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / antilag.qh
index cadb45a14d981fa0d2e9b26449dff0474eb38099..e1123e786e6db126f17ff0923f5a891d94fc6fde 100644 (file)
@@ -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);
@@ -5,5 +8,8 @@ void antilag_takeback(entity e, float t);
 void antilag_restore(entity e);
 void antilag_clear(entity e);
 
+.float antilag_debug;
+
 #define ANTILAG_LATENCY(e) min(0.4, e.ping * 0.001)
 // add one ticrate?
+#endif