From: Mario Date: Mon, 30 Dec 2019 09:28:41 +0000 (+1000) Subject: Don't cause an unused variable error if the ReplicateVars system isn't used X-Git-Tag: xonotic-v0.8.5~1105^2~63 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e9505c91972d18c8f8f0fc769cbd0fe2f7c040e7;p=xonotic%2Fxonotic-data.pk3dir.git Don't cause an unused variable error if the ReplicateVars system isn't used --- diff --git a/qcsrc/lib/replicate.qh b/qcsrc/lib/replicate.qh index 311774260..019194a6d 100644 --- a/qcsrc/lib/replicate.qh +++ b/qcsrc/lib/replicate.qh @@ -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