From 55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Aug 2016 23:08:12 +0300 Subject: Fix some style issues. --- src/dyetool/client.cpp | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'src/dyetool') 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) -- cgit v1.2.3-60-g2f50