summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-28 14:55:24 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:57 +0200
commite880cc40e98e7eedd7e8b51810cbc0348fff4a6f (patch)
tree6ffdb5565fe4e68e4d366d965350a4cbc9fe0b0e /src/inventory.h
parent7bb4b7911b4ae81b8577d34eb18231978e416d1d (diff)
downloadminetest-e880cc40e98e7eedd7e8b51810cbc0348fff4a6f.tar.gz
minetest-e880cc40e98e7eedd7e8b51810cbc0348fff4a6f.tar.bz2
minetest-e880cc40e98e7eedd7e8b51810cbc0348fff4a6f.zip
Fix stuff in inventory.{cpp,h}
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 441b2ca4d..6253ea50e 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -41,6 +41,8 @@ public:
virtual ~InventoryItem();
static InventoryItem* deSerialize(std::istream &is, IGameDef *gamedef);
+ static InventoryItem* deSerialize(const std::string &str,
+ IGameDef *gamedef);
virtual const char* getName() const = 0;
// Shall write the name and the parameters