From 7c37f16dc33621339a57ad8a33a6b414110d6cd4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 4 Nov 2012 16:59:58 +0300 Subject: Fix chat log writing if switch character. --- src/client.cpp | 3 +++ src/game.cpp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index 5bc891948..2e135fc6a 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1373,6 +1373,9 @@ int Client::gameExec() // Allow any alpha opacity Theme::instance()->setMinimumOpacity(-1.0f); + if (chatLogger) + chatLogger->setServerName(mServerName); + #ifdef ANDROID delete mCloseButton; mCloseButton = nullptr; diff --git a/src/game.cpp b/src/game.cpp index 5d988f19f..7993fa25c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -164,7 +164,6 @@ const unsigned adjustDelay = 10; */ static void initEngines() { - DepricatedEvent::trigger(CHANNEL_GAME, DepricatedEvent(EVENT_ENGINESINITALIZING)); -- cgit v1.2.3-60-g2f50