summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-23 22:09:41 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-23 22:09:41 +0300
commit2f4a9f411ba4be70663b000228a4ee6227e080ac (patch)
tree234f460a7e9546fed1cf85c7b026d65ee28d7a4a
parentebb6c57ead99cfc4a9eeb9ae89086cca81e6f124 (diff)
downloadplus-2f4a9f411ba4be70663b000228a4ee6227e080ac.tar.gz
plus-2f4a9f411ba4be70663b000228a4ee6227e080ac.tar.bz2
plus-2f4a9f411ba4be70663b000228a4ee6227e080ac.tar.xz
plus-2f4a9f411ba4be70663b000228a4ee6227e080ac.zip
Update packet versions supported for int32 int fields.
-rw-r--r--src/net/eathena/updateprotocol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/updateprotocol.cpp b/src/net/eathena/updateprotocol.cpp
index 066995cd2..637ac620b 100644
--- a/src/net/eathena/updateprotocol.cpp
+++ b/src/net/eathena/updateprotocol.cpp
@@ -68,7 +68,9 @@ void updateProtocol()
packetVersionMain = 0;
packetVersionRe = 0;
}
- if (packetVersionRe >= 20180704)
+ if (packetVersionMain >= 20181121 ||
+ packetVersionRe >= 20180704 ||
+ packetVersionZero >= 20181114)
{
itemIdLen = 4;
}