summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-04 20:28:48 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-04 20:28:48 +0300
commit379c1761469f4ee4edde3c46fc33ed3f981fce93 (patch)
treed05a4bd88f01146b9fe21057edcae0babffa01b6 /src
parent6fc7588ac000fbe5132ea81017cfd360c3566a06 (diff)
downloadplus-379c1761469f4ee4edde3c46fc33ed3f981fce93.tar.gz
plus-379c1761469f4ee4edde3c46fc33ed3f981fce93.tar.bz2
plus-379c1761469f4ee4edde3c46fc33ed3f981fce93.tar.xz
plus-379c1761469f4ee4edde3c46fc33ed3f981fce93.zip
Update packet SMSG_OPEN_WINDOW2 for zero protocol.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/network.cpp1
-rw-r--r--src/net/eathena/packetsin.inc6
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)
{