]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
more q3bsp work (and no it still doesn't work right)
[xonotic/darkplaces.git] / r_explosion.c
index 23a44c6db572e1f71d733f8bf9a5298a5681ad27..de58633184e85fe0394fb9dcb21e6e2bd0496d7d 100644 (file)
@@ -222,7 +222,7 @@ void R_MoveExplosion(explosion_t *e)
                        VectorMA(e->vert[i], frametime, e->vertvel[i], end);
                        if (r_explosionclip.integer)
                        {
-                               if (CL_TraceLine(e->vert[i], end, impact, normal, 0, true, NULL) < 1)
+                               if (CL_TraceLine(e->vert[i], end, impact, normal, true, NULL, SUPERCONTENTS_SOLID) < 1)
                                {
                                        // clip velocity against the wall
                                        dot = DotProduct(e->vertvel[i], normal) * -1.125f;