summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/object_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object_base.h b/src/object_base.h
index 2aaf8aa0c..a4e7eb0d7 100644
--- a/src/object_base.h
+++ b/src/object_base.h
@@ -29,6 +29,8 @@ struct Object : ObjectPool::PoolItem<&_object_pool> {
/** Make sure the object isn't zeroed. */
Object() {}
+ /** Make sure the right destructor is called as well! */
+ ~Object() {}
/**
* Get the object associated with a tile.