diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-17 22:00:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-17 22:26:06 +0300 |
commit | ef9e8793c77683b46a99daf6a57ca05facc44752 (patch) | |
tree | f152deaa1614295a3a318efada58b0b81723abaa /src/particle | |
parent | 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (diff) | |
download | manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.gz manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.bz2 manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.xz manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.zip |
Fix code style.
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/imageparticle.h | 7 | ||||
-rw-r--r-- | src/particle/particle.h | 8 |
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. |