diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-26 03:02:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-26 22:01:35 +0300 |
commit | de90520de303659fe639794544c2e19d462b3907 (patch) | |
tree | 36b306a26e2c9dd422aede36f2f9ca3158ffbae2 /src/progs | |
parent | 45527f8597dfac68e914a798184282faeb1493f2 (diff) | |
download | manaverse-de90520de303659fe639794544c2e19d462b3907.tar.gz manaverse-de90520de303659fe639794544c2e19d462b3907.tar.bz2 manaverse-de90520de303659fe639794544c2e19d462b3907.tar.xz manaverse-de90520de303659fe639794544c2e19d462b3907.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')
-rw-r--r-- | src/progs/dyecmd/client.cpp | 1 | ||||
-rw-r--r-- | src/progs/manaplus/client.cpp | 1 |
2 files changed, 2 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; diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index f9f608102..880f05a0b 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -195,6 +195,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; |