numtriangles = EXPLOSIONTRIS;
numverts = EXPLOSIONVERTS;
- alpha = e->alpha * r_colorscale;
+ alpha = e->alpha;
GL_Color(alpha, alpha, alpha, 1);
GL_VertexPointer(e->vert[0]);
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;