From 56cea96ce8e45ac690ce755c856bcb70a202009d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Jan 2016 21:08:09 +0300 Subject: Fix packet SMSG_WHO_ANSWER (hercules). --- src/net/eathena/packetsin.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') 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); +} -- cgit v1.2.3-60-g2f50