summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/imageparticle.h7
-rw-r--r--src/particle/particle.h8
2 files changed, 7 insertions, 8 deletions
diff --git a/src/particle/imageparticle.h b/src/particle/imageparticle.h
index fab5dd4b5..04395d870 100644
--- a/src/particle/imageparticle.h
+++ b/src/particle/imageparticle.h
@@ -48,10 +48,9 @@ class ImageParticle notfinal : public Particle
/**
* Draws the particle image
*/
- virtual void draw(Graphics *restrict const graphics,
- const int offsetX,
- const int offsetY) const
- restrict2 final A_NONNULL(2);
+ void draw(Graphics *restrict const graphics,
+ const int offsetX,
+ const int offsetY) const restrict2 final A_NONNULL(2);
void setAlpha(const float alpha) restrict2 final
{ mAlpha = alpha; }
diff --git a/src/particle/particle.h b/src/particle/particle.h
index 510fe5b6a..fe268a088 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -67,10 +67,10 @@ class Particle notfinal : public Actor
/**
* Draws the particle image.
*/
- virtual void draw(Graphics *restrict const graphics,
- const int offsetX,
- const int offsetY) const restrict2 override
- A_CONST A_NONNULL(2);
+ void draw(Graphics *restrict const graphics,
+ const int offsetX,
+ const int offsetY) const restrict2 override
+ A_CONST A_NONNULL(2);
/**
* Necessary for sorting with the other sprites.