git-svn-id: svn://svn.icculus.org/netradiant/trunk@87 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
@@ -54,6 +54,8 @@ void Sys_LogFile(bool enable)
|
||||
if (enable && !g_hLogFile)
|
||||
{
|
||||
// settings say we should be logging and we don't have a log file .. so create it
|
||||
if(!SettingsPath_get()[0])
|
||||
return; // cannot open a log file yet
|
||||
// open a file to log the console (if user prefs say so)
|
||||
// the file handle is g_hLogFile
|
||||
// the log file is erased
|
||||
|
||||
Reference in New Issue
Block a user