diff --git a/code/ObjFileParser.cpp b/code/ObjFileParser.cpp index b3b106d3f..df9fe6be9 100644 --- a/code/ObjFileParser.cpp +++ b/code/ObjFileParser.cpp @@ -587,7 +587,7 @@ void ObjFileParser::getMaterialLib() { DefaultLogger::get()->info("OBJ: Opening fallback material file " + strMatFallbackName); pFile = m_pIO->Open(strMatFallbackName); if (!pFile) { - DefaultLogger::get()->error("OBJ: Unable to locate fallback material file " + strMatName); + DefaultLogger::get()->error("OBJ: Unable to locate fallback material file " + strMatFallbackName); m_DataIt = skipLine(m_DataIt, m_DataItEnd, m_uiLine); return; }