Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/inventory.h')
-rw-r--r--src/core/inventory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/inventory.h b/src/core/inventory.h
index 3c3adfa..4ea8350 100644
--- a/src/core/inventory.h
+++ b/src/core/inventory.h
@@ -101,6 +101,11 @@ public:
* @brief search the inventory for a specific item id
*/
Item *find(const unsigned int id) const;
+
+ /**
+ * @brief search the inventory for a specific item
+ */
+ Item *find(Item *item) const;
/* ---- mutators --------------------------------------------------- */