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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/particle/textparticle.h b/src/particle/textparticle.h
index 272f1c6e1..7b63ff259 100644
--- a/src/particle/textparticle.h
+++ b/src/particle/textparticle.h
@@ -41,14 +41,14 @@ class TextParticle final : public Particle
* Draws the particle image.
*/
bool draw(Graphics *const graphics,
- const int offsetX, const int offsetY) const override;
+ const int offsetX, const int offsetY) const override final;
// hack to improve text visibility
- int getPixelY() const override A_WARN_UNUSED
+ int getPixelY() const override final A_WARN_UNUSED
{ return static_cast<int>(mPos.y + mPos.z); }
// hack to improve text visibility (for sorting only)
- int getSortPixelY() const override A_WARN_UNUSED
+ int getSortPixelY() const override final A_WARN_UNUSED
{ return static_cast<int>(mPos.y + mPos.z); }
private: