From 280946ba836cde9516f9344f47561f3356bdf869 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Fri, 28 Jun 2013 14:06:34 +0000 Subject: Dont write player files all the time --- src/inventory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index 676088b94..1a66a13a4 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -183,6 +183,7 @@ public: InventoryList(const InventoryList &other); InventoryList & operator = (const InventoryList &other); + bool operator == (const InventoryList &other); const std::string &getName() const; u32 getSize() const; @@ -258,6 +259,7 @@ public: Inventory(IItemDefManager *itemdef); Inventory(const Inventory &other); Inventory & operator = (const Inventory &other); + bool operator == (const Inventory &other); void serialize(std::ostream &os) const; void deSerialize(std::istream &is); -- cgit v1.2.3