From ac0c07a51b1748d1575ddf1e9e19355d97ec84c2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 11 Oct 2013 12:57:46 +0200 Subject: [PATCH] - fixed: Since model skins are managed by the texture manager, the model code may not delete them itself. --- src/gl/models/gl_models_md2.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gl/models/gl_models_md2.cpp b/src/gl/models/gl_models_md2.cpp index f5ac5d2bf..244ec064d 100644 --- a/src/gl/models/gl_models_md2.cpp +++ b/src/gl/models/gl_models_md2.cpp @@ -222,10 +222,7 @@ FDMDModel::~FDMDModel() // clean up if (skins != NULL) { - for (i=0;i