From e9d790f030b211a9945aca480360603ce3bccc7c Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 13 Mar 2022 11:58:44 +0100 Subject: [PATCH] Remove an unused field; make it clear with a comment that cvars starting with "_" are excluded in the cvar list dialog --- qcsrc/menu/xonotic/cvarlist.qc | 2 +- qcsrc/server/damage.qh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/menu/xonotic/cvarlist.qc b/qcsrc/menu/xonotic/cvarlist.qc index 9587d5432..85cf3254c 100644 --- a/qcsrc/menu/xonotic/cvarlist.qc +++ b/qcsrc/menu/xonotic/cvarlist.qc @@ -23,7 +23,7 @@ void CvarList_Load(entity me, string filter) if(me.handle < 0) return; - buf_cvarlist(me.handle, filter, "_"); + buf_cvarlist(me.handle, filter, "_"); // cvars starting with "_" are excluded me.nItems = buf_getsize(me.handle); if(autocvar_menu_cvarlist_onlymodified) { diff --git a/qcsrc/server/damage.qh b/qcsrc/server/damage.qh index 19206daf3..fbdebd359 100644 --- a/qcsrc/server/damage.qh +++ b/qcsrc/server/damage.qh @@ -147,7 +147,6 @@ bool Heal(entity targ, entity inflictor, float amount, float limit); .float fire_deathtype; .entity fire_owner; .float fire_hitsound; -.entity fire_burner; float Fire_AddDamage(entity e, entity o, float d, float t, float dt); -- 2.39.2