X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=sbar.c;h=95f516a3574093c7712e911afce56983dbb27baa;hb=d949ada62429d7c3ce992580c430ebc1cd916abf;hp=9d8ee63a9f87fe46bbfde22e42ef0f4376c9342f;hpb=4513875d934ceed8f004bf62a1248a0afcb1da76;p=xonotic%2Fdarkplaces.git diff --git a/sbar.c b/sbar.c index 9d8ee63a..95f516a3 100644 --- a/sbar.c +++ b/sbar.c @@ -1205,7 +1205,7 @@ void Sbar_ShowFPS(void) trace.hittexture = NULL; // to make sure // TODO change this trace to be stopped by anything "visible" (i.e. with a drawsurface), but not stuff like weapclip // probably needs adding a new SUPERCONTENTS type - trace = CL_TraceLine(org, dest, MOVE_NORMAL, NULL, SUPERCONTENTS_SOLID, 0, collision_extendmovelength.value, true, false, NULL, true, true); + trace = CL_TraceLine(org, dest, MOVE_NORMAL, NULL, SUPERCONTENTS_SOLID, 0, MATERIALFLAGMASK_TRANSLUCENT, collision_extendmovelength.value, true, false, NULL, true, true); if(trace.hittexture) strlcpy(texstring, trace.hittexture->name, sizeof(texstring)); else