From 0f8ed0123fe33324a028217708f404cc3e53f527 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 11 Oct 2013 01:04:54 +0200 Subject: [PATCH] - fixed: Models must not delete their skin textures because they are stored in the texture manager which will be responsible for doing this. --- src/gl/models/gl_models.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gl/models/gl_models.h b/src/gl/models/gl_models.h index 9535b16ae..5d474dd8d 100644 --- a/src/gl/models/gl_models.h +++ b/src/gl/models/gl_models.h @@ -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