From e880cc40e98e7eedd7e8b51810cbc0348fff4a6f Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 28 Nov 2011 14:55:24 +0200 Subject: Fix stuff in inventory.{cpp,h} --- 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 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 -- cgit v1.2.3