summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
+}