1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix stuff in inventory.{cpp,h}

This commit is contained in:
Perttu Ahola 2011-11-28 14:55:24 +02:00
parent 7bb4b7911b
commit e880cc40e9
2 changed files with 25 additions and 3 deletions

View file

@ -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