]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cgamevm.c
more q3bsp work (and no it still doesn't work right)
[xonotic/darkplaces.git] / cgamevm.c
index d921b7520184a4dce648b7b5461d4225168abe49..a2dc929462c9dbade642f56abfab1723adb682eb 100644 (file)
--- a/cgamevm.c
+++ b/cgamevm.c
@@ -196,7 +196,7 @@ float CGVM_TracePhysics(const float *start, const float *end, const float *world
        middle[2] = (worldmins[2] + worldmaxs[2]) * 0.5f;
        VectorAdd(start, middle, start2);
        VectorAdd(end, middle, end2);
-       frac = CL_TraceLine((float *)start2, (float *)end2, impactpos, impactnormal, 0, true);
+       frac = CL_TraceLine((float *)start2, (float *)end2, impactpos, impactnormal, true, NULL, SUPERCONTENTS_SOLID);
        VectorSubtract(impactpos, middle, impactpos);
        *impactentnum = -1;
        return frac;