]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an unused field; make it clear with a comment that cvars starting with "_...
authorterencehill <piuntn@gmail.com>
Sun, 13 Mar 2022 10:58:44 +0000 (11:58 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 13 Mar 2022 10:58:44 +0000 (11:58 +0100)
qcsrc/menu/xonotic/cvarlist.qc
qcsrc/server/damage.qh

index 9587d5432d83c7ebc80dcbac53a26dfc0af370e8..85cf3254caee1eb76a4f15ab50be4b15c97649af 100644 (file)
@@ -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)
        {
index 19206daf368647fdf9555e52b24e991b10786171..fbdebd359c90703ae6b66d06e151155eaffcc96a 100644 (file)
@@ -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);