diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-04 16:59:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-04 16:59:58 +0300 |
commit | 7c37f16dc33621339a57ad8a33a6b414110d6cd4 (patch) | |
tree | f78a7368acb3cdea5517b1f74d9582785774c641 | |
parent | 8f4e987f4c1e598dcfdfaeef5458c0f7b0970b76 (diff) | |
download | manaverse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.gz manaverse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.bz2 manaverse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.xz manaverse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.zip |
Fix chat log writing if switch character.
-rw-r--r-- | src/client.cpp | 3 | ||||
-rw-r--r-- | src/game.cpp | 1 |
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)); |