Ver Fonte

MDLImporter: remove dead code.

Kim Kulling há 8 anos atrás
pai
commit
3c370c83b9
1 ficheiros alterados com 0 adições e 4 exclusões
  1. 0 4
      code/MDLMaterialLoader.cpp

+ 0 - 4
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)
         {