]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
q1bsp traceline code now hits surfaces, this comes at a performance cost
[xonotic/darkplaces.git] / cl_main.c
index 0d340a80875103a0cf53d0dbd07015629240c0cb..0963ce99472df0b2a3a549853465e5a9f846f503 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -1462,7 +1462,7 @@ void CL_LinkNetworkEntity(entity_t *e)
                trace_t trace;
                matrix4x4_t tempmatrix;
                Matrix4x4_Transform(&e->render.matrix, muzzleflashorigin, v2);
-               trace = CL_TraceLine(origin, v2, MOVE_NOMONSTERS, NULL, SUPERCONTENTS_SOLID | SUPERCONTENTS_SKY, true, false, NULL, false);
+               trace = CL_TraceLine(origin, v2, MOVE_NOMONSTERS, NULL, SUPERCONTENTS_SOLID | SUPERCONTENTS_SKY, true, false, NULL, false, false);
                Matrix4x4_Normalize(&tempmatrix, &e->render.matrix);
                Matrix4x4_SetOrigin(&tempmatrix, trace.endpos[0], trace.endpos[1], trace.endpos[2]);
                Matrix4x4_Scale(&tempmatrix, 150, 1);