summaryrefslogtreecommitdiff
path: root/src/client.cpp
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/client.cpp
parent8f4e987f4c1e598dcfdfaeef5458c0f7b0970b76 (diff)
downloadManaVerse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.gz
ManaVerse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.bz2
ManaVerse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.tar.xz
ManaVerse-7c37f16dc33621339a57ad8a33a6b414110d6cd4.zip
Fix chat log writing if switch character.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 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;