]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix typo
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 10 Mar 2009 21:36:10 +0000 (21:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 10 Mar 2009 21:36:10 +0000 (21:36 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8782 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.c

index 23a1d3d0ae8016223e96fbc4cfd1ce248d24edaa..6f95733f764b67c5e54c095234e7a8f40fd2100a 100644 (file)
@@ -2230,7 +2230,7 @@ static void Mod_Decompile_OBJ(dp_model_t *model, const char *filename, const cha
 
        for (surfaceindex = 0, surface = model->data_surfaces;surfaceindex < model->num_surfaces;surfaceindex++, surface++)
        {
-               countmaterials++;
+               countsurfaces++;
                countvertices += surface->num_vertices;
                countfaces += surface->num_triangles;
        }