Merge remote-tracking branch 'origin/master' into miami

This commit is contained in:
Sergeanur 2020-07-18 13:31:32 +03:00
commit eaf569eb6d

View file

@ -2292,7 +2292,7 @@ void CTheScripts::Init()
dbg_log = fopen("SCRDBG.LOG", "w"); dbg_log = fopen("SCRDBG.LOG", "w");
static const char* init_msg = "Starting debug script log\n\n"; static const char* init_msg = "Starting debug script log\n\n";
PrintToLog(init_msg); PrintToLog(init_msg);
CFileMgr::SetDir("\\"); CFileMgr::SetDir("");
#endif #endif
} }
@ -2401,7 +2401,7 @@ void CTheScripts::Process()
dbg_log = fopen("SCRDBG.LOG", "w"); dbg_log = fopen("SCRDBG.LOG", "w");
static const char* init_msg = "Starting debug script log\n\n"; static const char* init_msg = "Starting debug script log\n\n";
PrintToLog(init_msg); PrintToLog(init_msg);
CFileMgr::SetDir("\\"); CFileMgr::SetDir("");
#endif #endif
PrintToLog("------------------------\n"); PrintToLog("------------------------\n");
PrintToLog("CTheScripts::Process started, CTimer::GetTimeInMilliseconds == %u\n", CTimer::GetTimeInMilliseconds()); PrintToLog("CTheScripts::Process started, CTimer::GetTimeInMilliseconds == %u\n", CTimer::GetTimeInMilliseconds());