X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=r_explosion.c;h=de58633184e85fe0394fb9dcb21e6e2bd0496d7d;hp=23a44c6db572e1f71d733f8bf9a5298a5681ad27;hb=e24d834dcbcc61f28fdf0e2c1ba75693d9e23ed1;hpb=5f9da8b90dfd4f0c86120ed01ca3e16c2dbb58e1 diff --git a/r_explosion.c b/r_explosion.c index 23a44c6d..de586331 100644 --- a/r_explosion.c +++ b/r_explosion.c @@ -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;