From b6dab83d2b3a40fa1b414ff60d7fffd34b7d57d1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 10 Oct 2013 23:13:56 +0200 Subject: [PATCH] - removed constructor and destructor from FDMDModel::ModelFrame because they were redundant and only caused double deletion of its contents. --- src/gl/models/gl_models.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/gl/models/gl_models.h b/src/gl/models/gl_models.h index c3d564f9d..9535b16ae 100644 --- a/src/gl/models/gl_models.h +++ b/src/gl/models/gl_models.h @@ -94,17 +94,6 @@ protected: char name[16]; FModelVertex *vertices; FModelVertex *normals; - - ModelFrame() - { - vertices = normals = NULL; - } - - ~ModelFrame() - { - if (vertices) delete [] vertices; - if (normals) delete [] normals; - } }; struct DMDLoDInfo