Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config.

This commit is contained in:
Henrik Rydgård committed 2020-08-15 19:09:09 +02:00
1 parent 80e0f85332
commit 3c412ea21e
10 files changed
+29 -31

No files matched your search

+1 -1
View File
@@ -531,7 +531,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
}
if (!LogManager::GetInstance())
LogManager::Init();
LogManager::Init(&g_Config.bEnableLogging);
#ifndef _WIN32
g_Config.AddSearchPath(user_data_path);