summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index c16b9a310..795d32d3e 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -554,11 +554,12 @@ public:
struct InventoryAction
{
static InventoryAction * deSerialize(std::istream &is);
-
+
virtual u16 getType() const = 0;
virtual void serialize(std::ostream &os) const = 0;
virtual void apply(InventoryContext *c, InventoryManager *mgr,
ServerEnvironment *env) = 0;
+ virtual ~InventoryAction() {};
};
struct IMoveAction : public InventoryAction