X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=sbar.c;h=9cc3b870fb8bb4e432875b29fb50eca821a84aed;hb=ef5c86fa7d4e8c732ee684dd706137765e5cca5f;hp=b537bcd3776cd3c9a391163e7127c50eaa358f8c;hpb=01f19c6c3ff8d4645b8589b3c8274d08a5775af6;p=xonotic%2Fdarkplaces.git diff --git a/sbar.c b/sbar.c index b537bcd3..9cc3b870 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, true, false, NULL, true, true); + trace = CL_TraceLine(org, dest, MOVE_NORMAL, NULL, SUPERCONTENTS_SOLID, collision_extendmovelength.value, true, false, NULL, true, true); if(trace.hittexture) strlcpy(texstring, trace.hittexture->name, sizeof(texstring)); else