]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/replicate.qh
Don't cause an unused variable error if the ReplicateVars system isn't used
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / replicate.qh
index 31177426066b5b1a78b6ea9cf3b271caad0bd74d..019194a6d55df61e608e4fe9d6c126fb73ed08ad 100644 (file)
@@ -59,7 +59,7 @@
                                store.fld = field; \
                        }
        #elif defined(CSQC)
-               float ReplicateVars_time;
+               noref float ReplicateVars_time;
                #define ReplicateVars_NOT_SENDING() (time > ReplicateVars_time)
                #define ReplicateVars_DELAY(t) ReplicateVars_time = time + t
                #define ReplicateVars_DELAY_1FRAME() ReplicateVars_time = time