X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Ft_items.qc;h=c291e79a009f715fb67e0decc66d0cde175fb809;hp=6eb73da43e4f2986db8f11117a293a868cd02358;hb=d9a92ac66e5fd03335a0150e763c3def4b558c8b;hpb=3466cc0e13455a448e4b63a56d1a25e716054264;ds=sidebyside diff --git a/qcsrc/server/t_items.qc b/qcsrc/server/t_items.qc index 6eb73da43e..c291e79a00 100644 --- a/qcsrc/server/t_items.qc +++ b/qcsrc/server/t_items.qc @@ -112,7 +112,7 @@ void Item_Show (entity e, float mode) e.model = e.mdl; e.solid = SOLID_NOT; e.colormod = stov(cvar_string("g_ghost_items_color")); - self.glowmod = self.colormod; + e.glowmod = e.colormod; e.alpha = g_ghost_items; e.customizeentityforclient = func_null; @@ -124,7 +124,7 @@ void Item_Show (entity e, float mode) e.model = string_null; e.solid = SOLID_NOT; e.colormod = stov(cvar_string("g_ghost_items_color")); - self.glowmod = self.colormod; + e.glowmod = e.colormod; e.alpha = 0; e.customizeentityforclient = func_null;