diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-18 23:08:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-18 23:08:12 +0300 |
commit | 55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1 (patch) | |
tree | a105b3cc7277170e3d51b70d362540bae4483d5f /src/dyetool | |
parent | f1558113c591ccdca3596b900c4cbcfc56644860 (diff) | |
download | manaverse-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.gz manaverse-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.bz2 manaverse-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.xz manaverse-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.zip |
Fix some style issues.
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/client.cpp | 33 |
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) |