]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
fix really stupid typo in SV_Move code, this cures the 'monsters walking through...
[xonotic/darkplaces.git] / r_explosion.c
index d1e51b97b4ff5d607982e8666ac87f526e0fa25b..2f249f9356a85904f57561f8b8fbea471432e6a4 100644 (file)
@@ -141,7 +141,7 @@ void R_Explosion_Init(void)
        R_RegisterModule("R_Explosions", r_explosion_start, r_explosion_shutdown, r_explosion_newmap);
 }
 
-void R_NewExplosion(vec3_t org)
+void R_NewExplosion(const vec3_t org)
 {
        int i, j;
        float dist, n;
@@ -190,7 +190,7 @@ static void R_DrawExplosion_TransparentCallback(const entity_render_t *ent, int
        GL_BlendFunc(GL_SRC_ALPHA, GL_ONE);
        GL_DepthMask(false);
        GL_DepthTest(true);
-       R_Mesh_Matrix(&r_identitymatrix);
+       R_Mesh_Matrix(&identitymatrix);
 
        numtriangles = EXPLOSIONTRIS;
        numverts = EXPLOSIONVERTS;