]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/replicate.qh
Merge branch 'DefaultUser/gametype_votescreen' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / replicate.qh
index eae9a6e6f1389a531d5b5c09a35f241cce8ff11a..a36466d2e0ffb8daca62e22bd35706bbeb5e761a 100644 (file)
@@ -1,7 +1,14 @@
 #pragma once
 
-#ifndef MENUQC
+#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__