From d764d7a3da4b1bb52406aebae463a6a9fec759fa Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 19 Dec 2019 04:10:06 +1000 Subject: [PATCH] Remove cl_fullbright_items (if the server enables fullbright items, show them!) --- qcsrc/common/t_items.qc | 5 ++--- qcsrc/common/t_items.qh | 1 - xonotic-client.cfg | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 7ef728df7..1029f7865 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -184,9 +184,8 @@ NET_HANDLE(ENT_CLIENT_ITEM, bool isnew) Item_SetAlpha(this); - if(autocvar_cl_fullbright_items) - if(this.ItemStatus & ITS_ALLOWFB) - this.effects |= EF_FULLBRIGHT; + if(this.ItemStatus & ITS_ALLOWFB) + this.effects |= EF_FULLBRIGHT; if(this.ItemStatus & ITS_GLOW) { diff --git a/qcsrc/common/t_items.qh b/qcsrc/common/t_items.qh index 5c916866f..7b0d760df 100644 --- a/qcsrc/common/t_items.qh +++ b/qcsrc/common/t_items.qh @@ -36,7 +36,6 @@ bool autocvar_cl_items_nofade; float autocvar_cl_animate_items = 1; float autocvar_cl_ghost_items = 0.45; vector autocvar_cl_ghost_items_color = '-1 -1 -1'; -float autocvar_cl_fullbright_items = 0; vector autocvar_cl_weapon_stay_color = '2 0.5 0.5'; float autocvar_cl_weapon_stay_alpha = 0.75; float autocvar_cl_simple_items = 0; diff --git a/xonotic-client.cfg b/xonotic-client.cfg index fd56c5383..94fcdfc3e 100644 --- a/xonotic-client.cfg +++ b/xonotic-client.cfg @@ -857,7 +857,6 @@ seta cl_ghost_items 0.45 "enable ghosted items (when between 0 and 1, overrides seta cl_ghost_items_color "-1 -1 -1" "color of ghosted items (colormod format: 0 0 0 leaves the color unchanged, negative values allowed)" seta cl_simple_items 0 "enable simple items (if server allows)" set cl_simpleitems_postfix "_luma" "posfix to add fo model name when simple items are enabled" -set cl_fullbright_items 0 "enable fullbright items (if server allows, controlled by g_fullbrightitems) - items are more visible in shadows" set cl_weapon_stay_color "2 0.5 0.5" "Color of picked up weapons when g_weapon_stay > 0 (colormod format: 0 0 0 leaves the color unchanged, negative values allowed)" set cl_weapon_stay_alpha 0.75 "Alpha of picked up weapons when g_weapon_stay > 0" -- 2.39.2