]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
made darkplaces compile successfully with g++ to test for errors C doesn't care about...
[xonotic/darkplaces.git] / r_explosion.c
index 430e399c08533ef30bc8f9fdbd27fff52e771139..4ce210da3557619928b9baf579a7faa583b2c13e 100644 (file)
@@ -186,7 +186,7 @@ static void R_DrawExplosionCallback(const void *calldata1, int calldata2)
        float alpha;
        rmeshstate_t m;
        const explosion_t *e;
-       e = calldata1;
+       e = (explosion_t *)calldata1;
 
        GL_BlendFunc(GL_SRC_ALPHA, GL_ONE);
        GL_DepthMask(false);