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:
parent
413a9360ad
commit
d2b288fd6a
@ -380,7 +380,9 @@ void Logger::LogError(const char *vafmt, ...)
|
|||||||
LogToOpenFileEx(fp, vafmt, ap);
|
LogToOpenFileEx(fp, vafmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
char error[255];
|
char error[255];
|
||||||
g_LibSys.GetPlatformError(error, sizeof(error));
|
g_LibSys.GetPlatformError(error, sizeof(error));
|
||||||
LogFatal("[SM] Unexpected fatal logging error (file \"%s\")", m_NrmFileName.c_str());
|
LogFatal("[SM] Unexpected fatal logging error (file \"%s\")", m_NrmFileName.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user