summaryrefslogtreecommitdiff
path: root/src/particle/textparticle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle/textparticle.h')
-rw-r--r--src/particle/textparticle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/particle/textparticle.h b/src/particle/textparticle.h
index a243e32e0..16dfd9158 100644
--- a/src/particle/textparticle.h
+++ b/src/particle/textparticle.h
@@ -40,15 +40,15 @@ class TextParticle final : public Particle
/**
* Draws the particle image.
*/
- virtual bool draw(Graphics *const graphics,
- const int offsetX, const int offsetY) const override;
+ bool draw(Graphics *const graphics,
+ const int offsetX, const int offsetY) const override;
// hack to improve text visibility
- virtual int getPixelY() const override A_WARN_UNUSED
+ int getPixelY() const override A_WARN_UNUSED
{ return static_cast<int>(mPos.y + mPos.z); }
// hack to improve text visibility (for sorting only)
- virtual int getSortPixelY() const override A_WARN_UNUSED
+ int getSortPixelY() const override A_WARN_UNUSED
{ return static_cast<int>(mPos.y + mPos.z); }
private: