]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
fixed bug where animated mdl skins (such as Tomaz's health box and
[xonotic/darkplaces.git] / r_explosion.c
index 3d8efefbf5c4452d0ebe6e5e47c0e986bcd6599e..f73e5cc9f2664cab90d382ab5391c56a5070f46d 100644 (file)
@@ -187,6 +187,7 @@ static void R_DrawExplosion_TransparentCallback(const entity_render_t *ent, cons
        rmeshstate_t m;
        GL_BlendFunc(GL_SRC_ALPHA, GL_ONE);
        GL_DepthMask(false);
+       GL_DepthRange(0, 1);
        GL_DepthTest(true);
        GL_CullFace(GL_FRONT); // quake is backwards, this culls back faces
        R_Mesh_Matrix(&identitymatrix);