]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
Added a query queue (test commit so Willis can test it).
[xonotic/darkplaces.git] / r_explosion.c
index 74d63bfb9389a5b1a68b63c35de0e5de27c0f9a4..04b79f153a21bef1dc8b3b36fd193eb8b2659203 100644 (file)
@@ -151,7 +151,7 @@ void R_NewExplosion(vec3_t org)
        fractalnoisequick(noise, EXPLOSIONGRID, 4); // adjust noise grid size according to explosion
        for (i = 0, e = explosion;i < MAX_EXPLOSIONS;i++, e++)
        {
-               if (e->alpha <= cl_explosions_alpha_end.value)
+               if (cl.time >= e->endtime)
                {
                        e->starttime = cl.time;
                        e->endtime = cl.time + cl_explosions_lifetime.value;