diff options
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 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 |