summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 3c556f01..25c1ebf7 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -151,12 +151,12 @@ int Inventory::getLastUsedSlot() const
return -1;
}
-void Inventory::addInventoyListener(InventoryListener* listener)
+void Inventory::addInventoryListener(InventoryListener* listener)
{
mInventoryListeners.push_back(listener);
}
-void Inventory::removeInventoyListener(InventoryListener* listener)
+void Inventory::removeInventoryListener(InventoryListener* listener)
{
mInventoryListeners.remove(listener);
}