diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-05 19:03:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-05 19:03:59 +0300 |
commit | 3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74 (patch) | |
tree | fe7ab920632207462354714e12604e2064d059ea /src/net/eathena/beingrecv.cpp | |
parent | d8a530e299b4dd04c020ca3e3eeda7b12f89b69b (diff) | |
download | mv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.tar.gz mv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.tar.bz2 mv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.tar.xz mv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.zip |
Add chat command for translate message from player language to english.
Also add po field into languages.xml.
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 6c78a8f40..52b1508da 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1766,6 +1766,8 @@ void BeingRecv::processBeingAttrs(Net::MessageIn &msg) dstBeing->setHorse(mount); } dstBeing->setLanguageId(language); + if (dstBeing == localPlayer) + PlayerInfo::setServerLanguage(language); } } |