diff options
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/inventory.h b/src/inventory.h index 57af37650..c16b9a310 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -331,12 +331,7 @@ private: class ToolItem : public InventoryItem { public: - ToolItem(IGameDef *gamedef, std::string toolname, u16 wear): - InventoryItem(gamedef, 1) - { - m_toolname = toolname; - m_wear = wear; - } + ToolItem(IGameDef *gamedef, std::string toolname, u16 wear); /* Implementation interface */ |