Explorar o código

Fixed: Initialize members in UnrealLoader

Richard %!s(int64=10) %!d(string=hai) anos
pai
achega
32a460f667
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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)