diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-04 20:00:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-04 20:00:24 +0300 |
commit | f922701f85840163acb17070dc3cb30bcdf34528 (patch) | |
tree | 6a491a3e67a17400c7fc5a0b937ba34ebc0c7963 /src/net/eathena/beingrecv.cpp | |
parent | 5867fc2249043285688e5bda4fe4c7e974ee2c07 (diff) | |
download | manaverse-f922701f85840163acb17070dc3cb30bcdf34528.tar.gz manaverse-f922701f85840163acb17070dc3cb30bcdf34528.tar.bz2 manaverse-f922701f85840163acb17070dc3cb30bcdf34528.tar.xz manaverse-f922701f85840163acb17070dc3cb30bcdf34528.zip |
Add language field in packet SMSG_BEING_ATTRS.
For now this field unused.
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 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) |