mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- 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:
parent
b6dab83d2b
commit
0f8ed0123f
1 changed files with 0 additions and 1 deletions
|
@ -201,7 +201,6 @@ class FMD3Model : public FModel
|
||||||
if (tris) delete [] tris;
|
if (tris) delete [] tris;
|
||||||
if (vertices) delete [] vertices;
|
if (vertices) delete [] vertices;
|
||||||
if (texcoords) delete [] texcoords;
|
if (texcoords) delete [] texcoords;
|
||||||
for (int i=0;i<numSkins;i++) delete skins[i];
|
|
||||||
if (skins) delete [] skins;
|
if (skins) delete [] skins;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue