summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/actorsprite.h2
-rw-r--r--src/being/compoundsprite.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 11f427669..84b86d5ec 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -74,7 +74,7 @@ public:
A_DELETE_COPY(ActorSprite)
- ~ActorSprite();
+ virtual ~ActorSprite();
int getId() const A_WARN_UNUSED
{ return mId; }
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index 5024f0122..d8c0cf849 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -57,7 +57,7 @@ public:
A_DELETE_COPY(CompoundSprite)
- ~CompoundSprite();
+ virtual ~CompoundSprite();
virtual bool reset() override;