Explorar o código

ASE: Explicitly pass "UNNAMED" as default Light name

Turo Lamminen %!s(int64=7) %!d(string=hai) anos
pai
achega
4fd791796c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/ASEParser.cpp

+ 1 - 1
code/ASEParser.cpp

@@ -308,7 +308,7 @@ void Parser::Parse()
             if (TokenMatch(filePtr,"LIGHTOBJECT",11))
 
             {
-                m_vLights.push_back(Light());
+                m_vLights.push_back(Light("UNNAMED"));
                 ParseLV1ObjectBlock(m_vLights.back());
                 continue;
             }