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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 74fcb920b..86dd7ac02 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -231,6 +231,12 @@ void InventoryHandler::moveItem2(const int source, const int slot,
}
}
+void InventoryHandler::useCard(const int index) const
+{
+ MessageOut outMsg(CMSG_PLAYER_USE_CARD);
+ outMsg.writeInt16(index + INVENTORY_OFFSET, "index");
+}
+
void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg)
{
BLOCK_START("InventoryHandler::processPlayerEquipment")