]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
remove some more dead code
[xonotic/darkplaces.git] / model_shared.c
index d9948aeab8ba7d5e413b11ce616049ff063af5e8..5d06edc5b869c07527550d466025646f4b7b02be 100644 (file)
@@ -4367,7 +4367,6 @@ static void Mod_GenerateLightmaps_CreateLightmaps(dp_model_t *model)
        for (surfaceindex = 0;surfaceindex < model->num_surfaces;surfaceindex++)
        {
                surface = model->data_surfaces + surfaceindex;
-               e = model->surfmesh.data_element3i + surface->num_firsttriangle*3;
                if (!surface->num_triangles)
                        continue;
                lightmapindex = mod_generatelightmaps_lightmaptriangles[surface->num_firsttriangle].lightmapindex;