summaryrefslogtreecommitdiff
path: root/src/progs/dyecmd/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-26 03:02:37 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-26 03:02:37 +0300
commit639148d9d301bd2dc20893fcf0571eb5c8e922f3 (patch)
treedd67dce5139b205820ae5d987fb7ff0a225df667 /src/progs/dyecmd/client.cpp
parent45527f8597dfac68e914a798184282faeb1493f2 (diff)
downloadplus-639148d9d301bd2dc20893fcf0571eb5c8e922f3.tar.gz
plus-639148d9d301bd2dc20893fcf0571eb5c8e922f3.tar.bz2
plus-639148d9d301bd2dc20893fcf0571eb5c8e922f3.tar.xz
plus-639148d9d301bd2dc20893fcf0571eb5c8e922f3.zip
Add support for changed item id size in packets.
From some packet version hercules support item id fields as int32.
Diffstat (limited to 'src/progs/dyecmd/client.cpp')
-rw-r--r--src/progs/dyecmd/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index 385a50919..a905c326b 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -126,6 +126,7 @@ int packetVersionMain = 0;
int packetVersionRe = 0;
int packetVersionZero = 0;
int packetsType = 0;
+int itemIdLen = 2;
bool packets_main = true;
bool packets_re = false;
bool packets_zero = false;