]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Make cvar_cl_allow_uidtracking an int thanks to a patch to ReplicateVars: replicated...
authorterencehill <piuntn@gmail.com>
Wed, 5 Jan 2022 21:48:13 +0000 (22:48 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 5 Jan 2022 22:14:12 +0000 (23:14 +0100)
commit8840adadb43cd96ccd530ddf127f8b9bf6c685cc
treec39f108cb7d57801206c2da8bc317faa3850db16
parente485bcaeede5f929c1ceefa26a51da840c2f1a1e
Make cvar_cl_allow_uidtracking an int thanks to a patch to ReplicateVars: replicated cvars are now sent to the server on connection even if not changed so that server can process them properly

cvar_cl_allow_uidtracking as string was networked on connection because code immediately detects a change (null value "" != default value "0"), not possible as int (null value 0 == default value 0)
qcsrc/client/main.qc
qcsrc/client/view.qc
qcsrc/common/replicate.qh
qcsrc/lib/replicate.qh