summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/client.cpp1
-rw-r--r--src/progs/manaplus/client.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index ccc8a51af..41bb7f3cb 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -188,6 +188,7 @@ void Client::gameInit()
if (settings.options.test.empty())
ConfigManager::backupConfig("config.xml");
ConfigManager::initConfiguration();
+ SDL::setLogLevel(config.getIntValue("sdlLogLevel"));
setPathsDefaults(paths);
initPaths();
logger->log("init 4");
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index af46d8683..a9735f43e 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -310,6 +310,7 @@ void Client::gameInit()
if (settings.options.test.empty())
ConfigManager::backupConfig("config.xml");
ConfigManager::initConfiguration();
+ SDL::setLogLevel(config.getIntValue("sdlLogLevel"));
settings.init();
Net::loadIgnorePackets();
setPathsDefaults(paths);