summaryrefslogtreecommitdiff
path: root/src/dyetool/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-18 23:08:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-18 23:08:12 +0300
commit55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1 (patch)
treea105b3cc7277170e3d51b70d362540bae4483d5f /src/dyetool/client.cpp
parentf1558113c591ccdca3596b900c4cbcfc56644860 (diff)
downloadmanaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.gz
manaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.bz2
manaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.xz
manaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.zip
Fix some style issues.
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)