]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/replicate.qh
LMS: Restore decreasing rank (starting from 665) applied to quitters
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / replicate.qh
index a7b854cd17d446d8263199629358aa19c1b8baa1..a36466d2e0ffb8daca62e22bd35706bbeb5e761a 100644 (file)
@@ -1,7 +1,14 @@
-#ifndef REPLICATE_H
-#define REPLICATE_H
-#ifndef MENUQC
+#pragma once
 
+#ifdef GAMEQC
+
+    /**
+     * Replicate a client cvar into a server field
+     *
+     * @param fld   The field to replicate into
+     * @param type  The field type
+     * @param cvar  The cvar name
+     */
        #define REPLICATE(...) EVAL_REPLICATE(OVERLOAD(REPLICATE, __VA_ARGS__))
        #define EVAL_REPLICATE(...) __VA_ARGS__
 
@@ -54,4 +61,3 @@
        #endif
 
 #endif
-#endif