diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-06-28 14:06:34 +0000 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-06-28 14:15:48 +0000 |
commit | 280946ba836cde9516f9344f47561f3356bdf869 (patch) | |
tree | fb238ce650df6cf6df0545b90f4ebe2859fcbe41 /src/inventory.h | |
parent | 9e100bc42b5275299020ea8619e64f2e4aa76192 (diff) | |
download | minetest-280946ba836cde9516f9344f47561f3356bdf869.tar.gz minetest-280946ba836cde9516f9344f47561f3356bdf869.tar.bz2 minetest-280946ba836cde9516f9344f47561f3356bdf869.zip |
Dont write player files all the time
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |