summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/imageparticle.h2
-rw-r--r--src/particle/particle.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/imageparticle.h b/src/particle/imageparticle.h
index 9217417fd..7c768525d 100644
--- a/src/particle/imageparticle.h
+++ b/src/particle/imageparticle.h
@@ -49,7 +49,7 @@ class ImageParticle : public Particle
/**
* Destructor.
*/
- ~ImageParticle();
+ virtual ~ImageParticle();
/**
* Draws the particle image
diff --git a/src/particle/particle.h b/src/particle/particle.h
index 4a95edd68..dd89e717e 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -84,7 +84,7 @@ class Particle : public Actor
/**
* Destructor.
*/
- ~Particle();
+ virtual ~Particle();
/**
* Deletes all child particles and emitters.