diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-04 20:28:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-04 20:28:48 +0300 |
commit | 379c1761469f4ee4edde3c46fc33ed3f981fce93 (patch) | |
tree | d05a4bd88f01146b9fe21057edcae0babffa01b6 /src/net | |
parent | 6fc7588ac000fbe5132ea81017cfd360c3566a06 (diff) | |
download | manaverse-379c1761469f4ee4edde3c46fc33ed3f981fce93.tar.gz manaverse-379c1761469f4ee4edde3c46fc33ed3f981fce93.tar.bz2 manaverse-379c1761469f4ee4edde3c46fc33ed3f981fce93.tar.xz manaverse-379c1761469f4ee4edde3c46fc33ed3f981fce93.zip |
Update packet SMSG_OPEN_WINDOW2 for zero protocol.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/network.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp index e0336ae06..52d8556ff 100644 --- a/src/net/eathena/network.cpp +++ b/src/net/eathena/network.cpp @@ -91,6 +91,7 @@ extern int packetVersion; extern int packetVersionMain; extern int packetVersionRe; +extern int packetVersionZero; extern int serverVersion; extern int evolPacketOffset; extern bool packets_zero; diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 3130d2285..1771ad711 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -1062,6 +1062,12 @@ if (packetVersionMain >= 20180404) packet(SMSG_OPEN_WINDOW2, 0x0ae2, 7, &AttendanceRecv::processOpenWindow, 20180404); } +// zero 20180411 +if (packetVersionZero >= 20180411) +{ + packet(SMSG_OPEN_WINDOW2, 0x0ae2, 7, &AttendanceRecv::processOpenWindow, 20180411); +} + // 20180418 if (packetVersion == 20180418) { |