summaryrefslogtreecommitdiff
path: root/src/textparticle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/textparticle.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmanaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
manaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
manaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
manaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
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: