]> git.xonotic.org Git - xonotic/darkplaces.git/commit
cvar: use better method of checking flags during registration
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 12 Dec 2023 06:17:54 +0000 (16:17 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 12 Dec 2023 06:45:07 +0000 (16:45 +1000)
commit8c17b7b5808fee06d82952f8481146844ba7f023
treecf049a4fd1a46d8adef3154b5f9cb462d4e19610
parentb8692b8cd73685794b59b0522e8caa4b9d9a2dac
cvar: use better method of checking flags during registration

Should have done it this way in 3a58ad52e63635c93e95955f984fd6052156e56b

Also prevents callbacks for client-only cvars being registered on the
dedicated server.

Adds some debug prints.

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