fixed amb1164, SM was crashing due to interface changes from valve (this change is just to make the build update using the latest sdk)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401692
This commit is contained in:
Borja Ferrer 2007-11-16 21:34:29 +00:00
parent 413a9360ad
commit d2b288fd6a

View File

@ -380,7 +380,9 @@ void Logger::LogError(const char *vafmt, ...)
LogToOpenFileEx(fp, vafmt, ap);
va_end(ap);
fclose(fp);
} else {
}
else
{
char error[255];
g_LibSys.GetPlatformError(error, sizeof(error));
LogFatal("[SM] Unexpected fatal logging error (file \"%s\")", m_NrmFileName.c_str());