summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp5
-rw-r--r--src/net/tmwa/inventoryhandler.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index c7f76b6b0..7e5bf3946 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -218,6 +218,11 @@ void InventoryHandler::useCard(const int index A_UNUSED) const
{
}
+void InventoryHandler::insertCard(const int cardIndex A_UNUSED,
+ const int itemIndex A_UNUSED) const
+{
+}
+
void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg)
{
BLOCK_START("InventoryHandler::processPlayerEquipment")
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h
index 09e6f1027..f6ca9aa00 100644
--- a/src/net/tmwa/inventoryhandler.h
+++ b/src/net/tmwa/inventoryhandler.h
@@ -60,6 +60,9 @@ class InventoryHandler final : public MessageHandler,
void useCard(const int index) const override final;
+ void insertCard(const int cardIndex,
+ const int itemIndex) const override final;
+
protected:
void processPlayerEquipment(Net::MessageIn &msg);