diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-11 21:28:04 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-11 21:28:04 +0300 |
commit | 249c0dc68a107878b7aaca0c8d2dcc3e08862430 (patch) | |
tree | 734bb0c1aee5c81d8a4eaa3b9e8efdc179041d21 /src/inventory.h | |
parent | 81ac026e1f04f1c40eb246e21e9aac25c8ec8f92 (diff) | |
download | minetest-249c0dc68a107878b7aaca0c8d2dcc3e08862430.tar.gz minetest-249c0dc68a107878b7aaca0c8d2dcc3e08862430.tar.bz2 minetest-249c0dc68a107878b7aaca0c8d2dcc3e08862430.zip |
Fixed some problems with crafting and inventory
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h index 3ba655880..cb45371e4 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -455,6 +455,9 @@ public: // Count used slots u32 getUsedSlots(); u32 getFreeSlots(); + + /*bool getDirty(){ return m_dirty; } + void setDirty(bool dirty=true){ m_dirty = dirty; }*/ // Get pointer to item InventoryItem * getItem(u32 i); @@ -490,6 +493,7 @@ private: core::array<InventoryItem*> m_items; u32 m_size; std::string m_name; + //bool m_dirty; }; class Inventory |