summaryrefslogtreecommitdiff
path: root/src/resources/inventory/inventory.cpp
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-03-11 19:11:52 +0000
committerFedja Beader <fedja@protonmail.ch>2024-03-11 19:11:52 +0000
commitaf3eb6ba1c1c5a4a26592d53c614013225efd2d6 (patch)
tree72f55ca3f3a1b83492548d15141cc9fb9c339b1d /src/resources/inventory/inventory.cpp
parentdf883d0a3bacc98a20a357a7e3fe23432f1b6eb2 (diff)
downloadmanaverse-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.tar.gz
manaverse-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.tar.bz2
manaverse-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.tar.xz
manaverse-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.zip
Typofix {add,remove}InventoyListener -> {add,remove}InventoryListener
**** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
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);
}