fixed various retarded errors

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40671
This commit is contained in:
David Anderson
2007-04-05 05:45:35 +00:00
parent 2cb7b5a06a
commit eb006bb665
4 changed files with 14 additions and 5 deletions
+5
View File
@@ -427,6 +427,11 @@ void Logger::DisableLogging()
void Logger::LogFatal(const char *msg, ...)
{
/* :TODO: make this print all pretty-like
* In fact, the pretty log printing function should be abstracted.
* It's already implemented twice which is bad.
*/
char path[PLATFORM_MAX_PATH];
g_SourceMod.BuildPath(Path_Game, path, sizeof(path), "sourcemod_fatal.log");
FILE *fp = fopen(path, "at");