summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-04 20:00:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-04 20:00:24 +0300
commitf922701f85840163acb17070dc3cb30bcdf34528 (patch)
tree6a491a3e67a17400c7fc5a0b937ba34ebc0c7963 /src
parent5867fc2249043285688e5bda4fe4c7e974ee2c07 (diff)
downloadplus-f922701f85840163acb17070dc3cb30bcdf34528.tar.gz
plus-f922701f85840163acb17070dc3cb30bcdf34528.tar.bz2
plus-f922701f85840163acb17070dc3cb30bcdf34528.tar.xz
plus-f922701f85840163acb17070dc3cb30bcdf34528.zip
Add language field in packet SMSG_BEING_ATTRS.
For now this field unused.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beingrecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 767876a39..84bf9ee0c 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1744,6 +1744,8 @@ void BeingRecv::processBeingAttrs(Net::MessageIn &msg)
uint16_t mount = 0;
if (haveMount)
mount = msg.readInt16("mount");
+ if (serverVersion >= 17)
+ msg.readInt16("language");
if (dstBeing)
{
if (gmLevel)