]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
cvar: remove from the hash table when deleting (`unset` command)
authorbones_was_here <bones_was_here@xonotic.au>
Thu, 21 Dec 2023 10:08:38 +0000 (20:08 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 21 Dec 2023 11:39:10 +0000 (21:39 +1000)
commit05a5ed884366d3a1c8e211168efc19b61867cfca
treec08a77f2509ab43cfdb36af8fd579d52df993e23
parent4dcdfb3370a11f338014164eec075b7fd7bb57b5
cvar: remove from the hash table when deleting (`unset` command)

Fixes https://gitlab.com/xonotic/darkplaces/-/issues/400

Refactors Cvar_FindVarLink() to return a hash link pointer pointer
instead of a cvar pointer to avoid passing extra pointer pointers.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cvar.c