summaryrefslogtreecommitdiff
path: root/src/textparticle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/textparticle.h')
-rw-r--r--src/textparticle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textparticle.h b/src/textparticle.h
index 1b19c62be..a9f1a86ad 100644
--- a/src/textparticle.h
+++ b/src/textparticle.h
@@ -44,11 +44,11 @@ class TextParticle final : public Particle
int offsetX, int offsetY) const override;
// hack to improve text visibility
- virtual int getPixelY() const override
+ virtual 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
+ virtual int getSortPixelY() const override A_WARN_UNUSED
{ return static_cast<int>(mPos.y + mPos.z); }
private: