diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-25 21:08:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-25 21:08:09 +0300 |
commit | 56cea96ce8e45ac690ce755c856bcb70a202009d (patch) | |
tree | 64e03cd39cd6f74b9a80c07d34e8dd489e5acce8 /src/net | |
parent | 32a9d4f78955be4b2d967bc5a7edf4834407a774 (diff) | |
download | manaplus-56cea96ce8e45ac690ce755c856bcb70a202009d.tar.gz manaplus-56cea96ce8e45ac690ce755c856bcb70a202009d.tar.bz2 manaplus-56cea96ce8e45ac690ce755c856bcb70a202009d.tar.xz manaplus-56cea96ce8e45ac690ce755c856bcb70a202009d.zip |
Fix packet SMSG_WHO_ANSWER (hercules).
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/packetsin.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 0cfa88238..f479ead2a 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -472,4 +472,11 @@ if (packetVersion >= 20150513) } // introduced in 20150805 -packet(SMSG_SELECT_CART, 0x00c2, -1, &InventoryRecv::processSelectCart); +if (packetVersion >= 20150805) +{ + packet(SMSG_SELECT_CART, 0x00c2, -1, &InventoryRecv::processSelectCart); +} +else +{ + packet(SMSG_SELECT_CART, 0x0000, 0, nullptr); +} |