]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/replicate.qh
Remove references to sendcvar from cvar descriptions, mark setreport as deprecated...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / replicate.qh
index 7faa2ec2adc28d9d48c55abed01ed3a36c31417f..a88bde462934134f3585707eff76e81303e8d6c2 100644 (file)
@@ -71,7 +71,7 @@
                #define REPLICATE_7(fld, type, var, func, check, update, destroy) \
                        void ReplicateVars(bool would_destroy) \
                        { \
-                               if (would_destroy > 0) { destroy } \
+                               if (would_destroy) { destroy } \
                                else if (ReplicateVars_NOT_SENDING() && check) \
                                { \
                                        localcmd(strcat("cl_cmd sendcvar ", var, "\n")); \