]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/accuracy.qh
Instagib: fix items from other games not getting replaced by instagib powerups
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / accuracy.qh
index b1375b5a0a547ed461c41be8f8399fff156d524c..d5d9f97d9fc469783ae5ff49bb799e02ff2f2941 100644 (file)
 
 float autocvar_sv_accuracy_data_share = 1;
 
-REPLICATE_FIELD(bool, cvar_cl_accuracy_data_share);
-REPLICATE_FIELD(bool, cvar_cl_accuracy_data_receive);
-REPLICATE(cvar_cl_accuracy_data_share, bool, "cl_accuracy_data_share");
-REPLICATE(cvar_cl_accuracy_data_receive, bool, "cl_accuracy_data_receive");
+REPLICATE_INIT(bool, cvar_cl_accuracy_data_share);
+REPLICATE_INIT(bool, cvar_cl_accuracy_data_receive);
 
 .entity accuracy;
 .float accuracy_frags[REGISTRY_MAX(Weapons)];