From: terencehill Date: Sun, 13 Mar 2022 10:58:44 +0000 (+0100) Subject: Remove an unused field; make it clear with a comment that cvars starting with "_... X-Git-Tag: xonotic-v0.8.5~161 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e9d790f030b211a9945aca480360603ce3bccc7c;p=xonotic%2Fxonotic-data.pk3dir.git Remove an unused field; make it clear with a comment that cvars starting with "_" are excluded in the cvar list dialog --- 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);