summaryrefslogtreecommitdiff
path: root/src/resources/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/inventory')
-rw-r--r--src/resources/inventory/inventory.cpp4
-rw-r--r--src/resources/inventory/inventory.h4
2 files changed, 4 insertions, 4 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);
}
diff --git a/src/resources/inventory/inventory.h b/src/resources/inventory/inventory.h
index 653bfa711..2eb487b0d 100644
--- a/src/resources/inventory/inventory.h
+++ b/src/resources/inventory/inventory.h
@@ -169,9 +169,9 @@ class Inventory notfinal
*/
int getLastUsedSlot() const A_WARN_UNUSED;
- void addInventoyListener(InventoryListener *const listener);
+ void addInventoryListener(InventoryListener *const listener);
- void removeInventoyListener(InventoryListener *const listener);
+ void removeInventoryListener(InventoryListener *const listener);
InventoryTypeT getType() const noexcept2 A_WARN_UNUSED
{ return mType; }