From 3c370c83b932e33c2c2001ac4b3ae5f789659aa4 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 24 May 2017 21:18:51 +0200 Subject: [PATCH] MDLImporter: remove dead code. --- code/MDLMaterialLoader.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/MDLMaterialLoader.cpp b/code/MDLMaterialLoader.cpp index 77ce3b33f..91dcb49cc 100644 --- a/code/MDLMaterialLoader.cpp +++ b/code/MDLMaterialLoader.cpp @@ -546,10 +546,6 @@ void MDLImporter::ParseSkinLump_3DGS_MDL7( } else if (iMasked || !iType || (iType && iWidth && iHeight)) { - // ***** STANDARD COLOR TEXTURE ***** - if(pcNew!= nullptr) - delete pcNew; - pcNew = new aiTexture(); if (!iHeight || !iWidth) {