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