- fixed: Models must not delete their skin textures because they are stored in the texture manager which will be responsible for doing this.

This commit is contained in:
Christoph Oelckers 2013-10-11 01:04:54 +02:00
parent b6dab83d2b
commit 0f8ed0123f

View file

@ -201,7 +201,6 @@ class FMD3Model : public FModel
if (tris) delete [] tris;
if (vertices) delete [] vertices;
if (texcoords) delete [] texcoords;
for (int i=0;i<numSkins;i++) delete skins[i];
if (skins) delete [] skins;
}
};