]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.c
Fix one trace I missed when adding skipsupercontentsmask, and a couple other ones...
[xonotic/darkplaces.git] / model_brush.c
index 76381f833758002bf25031c505b98629545034b5..31863f9b76eaceb7a00c7be857250225b7f04adf 100644 (file)
@@ -6784,7 +6784,7 @@ static qboolean Mod_Q3BSP_TraceLineOfSight(struct model_s *model, const vec3_t s
        if (model->brush.submodel || mod_q3bsp_tracelineofsight_brushes.integer)
        {
                trace_t trace;
-               model->TraceLine(model, NULL, NULL, &trace, start, end, SUPERCONTENTS_VISBLOCKERMASK, SUPERCONTENTS_SKY);
+               model->TraceLine(model, NULL, NULL, &trace, start, end, SUPERCONTENTS_VISBLOCKERMASK, 0);
                return trace.fraction == 1;
        }
        else