summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index ab384e2ce..da8091f98 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -95,6 +95,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_ITEM_RENTAL_TIME,
SMSG_PLAYER_ITEM_RENTAL_EXPIRED,
SMSG_CART_INFO,
+ SMSG_CART_REMOVE,
0
};
handledMessages = _messages;
@@ -197,6 +198,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processCartInfo(msg);
break;
+ case SMSG_CART_REMOVE:
+ processCartRemove(msg);
+ break;
+
default:
break;
}
@@ -739,4 +744,9 @@ void InventoryHandler::processCartInfo(Net::MessageIn &msg)
msg.readInt32("max cart weight");
}
+void InventoryHandler::processCartRemove(Net::MessageIn &msg A_UNUSED)
+{
+ //+++ need close or clear cart?
+}
+
} // namespace EAthena