Przeglądaj źródła

Fixed: Initialize members in UnrealLoader

Richard 10 lat temu
rodzic
commit
32a460f667
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      code/UnrealLoader.h

+ 3 - 1
code/UnrealLoader.h

@@ -82,7 +82,9 @@ struct Triangle {
 // temporary representation for a material
 struct TempMat  {
     TempMat()
-        :   numFaces    (0)
+        :   type()
+        ,   tex()
+        ,   numFaces    (0)
     {}
 
     TempMat(const Triangle& in)