summaryrefslogtreecommitdiff
path: root/src/net/eathena/packetsin.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-25 21:08:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-25 21:08:09 +0300
commit56cea96ce8e45ac690ce755c856bcb70a202009d (patch)
tree64e03cd39cd6f74b9a80c07d34e8dd489e5acce8 /src/net/eathena/packetsin.inc
parent32a9d4f78955be4b2d967bc5a7edf4834407a774 (diff)
downloadmanaplus-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/eathena/packetsin.inc')
-rw-r--r--src/net/eathena/packetsin.inc9
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);
+}