summaryrefslogtreecommitdiff
path: root/src/dyetool/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r--src/dyetool/client.cpp33
1 files changed, 18 insertions, 15 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index 8872aa134..e4d61688f 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -188,17 +188,18 @@ void Client::gameInit()
GettextHelper::initLang();
-// chatLogger = new ChatLogger;
-// if (settings.options.chatLogDir.empty())
-// {
-// chatLogger->setBaseLogDir(settings.localDataDir
-// + std::string("/logs/"));
-// }
-// else
-// {
-// chatLogger->setBaseLogDir(settings.options.chatLogDir);
-// }
-
+/*
+ chatLogger = new ChatLogger;
+ if (settings.options.chatLogDir.empty())
+ {
+ chatLogger->setBaseLogDir(settings.localDataDir
+ + std::string("/logs/"));
+ }
+ else
+ {
+ chatLogger->setBaseLogDir(settings.options.chatLogDir);
+ }
+*/
logger->setLogToStandardOut(config.getBoolValue("logToStandardOut"));
// Log the client version
@@ -571,10 +572,12 @@ int Client::gameExec()
BLOCK_END("~Client::SDL_framerateDelay")
BLOCK_START("Client::gameExec 6")
-// if (mState == State::CONNECT_GAME)
-// {
-// stateConnectGame1();
-// }
+/*
+ if (mState == State::CONNECT_GAME)
+ {
+ stateConnectGame1();
+ }
+*/
BLOCK_END("Client::gameExec 6")
if (mState != mOldState)