summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-04 16:59:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-04 16:59:58 +0300
commit7c37f16dc33621339a57ad8a33a6b414110d6cd4 (patch)
treef78a7368acb3cdea5517b1f74d9582785774c641 /src
parent8f4e987f4c1e598dcfdfaeef5458c0f7b0970b76 (diff)
downloadmv-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.gz
mv-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.bz2
mv-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.xz
mv-7c37f16dc33621339a57ad8a33a6b414110d6cd4.zip
Fix chat log writing if switch character.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp3
-rw-r--r--src/game.cpp1
2 files changed, 3 insertions, 1 deletions
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));